]> git.lyx.org Git - features.git/commitdiff
Remove unnecessary assignments
authorEnrico Forestieri <forenr@lyx.org>
Mon, 10 Feb 2020 20:59:52 +0000 (21:59 +0100)
committerEnrico Forestieri <forenr@lyx.org>
Mon, 10 Feb 2020 20:59:52 +0000 (21:59 +0100)
src/mathed/MathParser.cpp

index c38acca7ed0d7b3ab4b90b190cf103b5cf27c4c8..d95d1d20e20c8697e41df63bab07a12733eb4fb8 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;
                                                                }
                                                        }
                                                }