[LyX/master] Remove unnecessary assignments

Enrico Forestieri forenr at lyx.org
Mon Feb 10 20:41:57 UTC 2020


commit 926c846abb244a61d26aa7adcb2faeb921675758
Author: Enrico Forestieri <forenr at lyx.org>
Date:   Mon Feb 10 21:59:52 2020 +0100

    Remove unnecessary assignments
---
 src/mathed/MathParser.cpp |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/mathed/MathParser.cpp b/src/mathed/MathParser.cpp
index c38acca..d95d1d2 100644
--- a/src/mathed/MathParser.cpp
+++ b/src/mathed/MathParser.cpp
@@ -2089,13 +2089,11 @@ bool Parser::parse1(InsetMathGrid & grid, unsigned flags,
 								getToken();
 								if (nextToken().cat() == catEnd) {
 									getToken();
-									num_tokens += 2;
 								} else
 									putback();
 							} else {
 								while (nextToken().cat() == catSpace) {
 									getToken();
-									++num_tokens;
 								}
 							}
 						}


More information about the lyx-cvs mailing list