]> git.lyx.org Git - features.git/commitdiff
fix 'Uninitialized memory read'. It was not exactly a bug, though...
authorAndré Pönitz <poenitz@gmx.net>
Fri, 17 Aug 2001 16:34:19 +0000 (16:34 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Fri, 17 Aug 2001 16:34:19 +0000 (16:34 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2539 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_parser.C

index be6ed5a8eabd31e39e9d166769ca656acfb135d2..e14ff3dcc88211265eef5f74ef21e21a255f2248 100644 (file)
@@ -283,14 +283,14 @@ private:
 
 
 Parser::Parser(LyXLex & lexer)
-       : lineno_(lexer.getLineNo()), pos_(0)
+       : lineno_(lexer.getLineNo()), pos_(0), curr_num_(false)
 {
        tokenize(lexer.getStream());
 }
 
 
 Parser::Parser(istream & is)
-       : lineno_(0), pos_(0)
+       : lineno_(0), pos_(0), curr_num_(false)
 {
        tokenize(is);
 }