commit fe02f151f9dd30c1295bc0169b28eab6435810ab
Author: Stephan Witt <[email protected]>
Date: Tue Feb 18 08:55:45 2020 +0100
Remove useless assignments to a local variables never read later.
---
src/Text3.cpp | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/Text3.cpp b/src/Text3.cpp
index f5444e7..ac871d5 100644
--- a/src/Text3.cpp
+++ b/src/Text3.cpp
@@ -1610,7 +1610,6 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
if (inautoarg) {
cur.leaveInset(cur.inset());
cur.posForward();
- inautoarg = false;
}
FuncRequest const cmd2(LFUN_ARGUMENT_INSERT,
la_pair.first);
lyx::dispatch(cmd2);
@@ -2096,7 +2095,6 @@ void Text::dispatch(Cursor & cur, FuncRequest & cmd)
if (inautoarg) {
cur.leaveInset(cur.inset());
cur.posForward();
- inautoarg = false;
if (arg.insertonnewline && cur.pos() >
0) {
FuncRequest
cmd2(LFUN_PARAGRAPH_BREAK);
lyx::dispatch(cmd2);
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs