]> git.lyx.org Git - features.git/blobdiff - src/mathed/MathParser.cpp
Remove another unnecessary assignment
[features.git] / src / mathed / MathParser.cpp
index c38acca7ed0d7b3ab4b90b190cf103b5cf27c4c8..00f7e99004fb25bf9c469190d27112c16c17567c 100644 (file)
@@ -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;
                                                                }
                                                        }
                                                }
@@ -2136,7 +2134,6 @@ bool Parser::parse1(InsetMathGrid & grid, unsigned flags,
 
 
                if (flags & FLAG_LEAVE) {
-                       flags &= ~FLAG_LEAVE;
                        break;
                }
        }