From 616f124e921b76185af04cd142e742365b398f92 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 17 Aug 2001 16:34:19 +0000 Subject: [PATCH] fix 'Uninitialized memory read'. It was not exactly a bug, though... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2539 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_parser.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mathed/math_parser.C b/src/mathed/math_parser.C index be6ed5a8ea..e14ff3dcc8 100644 --- a/src/mathed/math_parser.C +++ b/src/mathed/math_parser.C @@ -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); } -- 2.39.2