mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
44d911432c
commit
616f124e92
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user