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
This commit is contained in:
André Pönitz 2001-08-17 16:34:19 +00:00
parent 44d911432c
commit 616f124e92

View 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);
}