mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Fix uninitialized member in Lexer constructor
Fixes coverity issue 23501.
This commit is contained in:
parent
c925748126
commit
0e2ef88b43
@ -67,7 +67,7 @@ public:
|
||||
Lexer();
|
||||
/// initialize Lexer with a bunch of keywords
|
||||
template<int N> Lexer(LexerKeyword (&table)[N])
|
||||
: pimpl_(0) { init(table, N); }
|
||||
: pimpl_(0), lastReadOk_(false) { init(table, N); }
|
||||
|
||||
///
|
||||
~Lexer();
|
||||
|
Loading…
Reference in New Issue
Block a user