mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix uninitialized member in Lexer constructor
Fixes coverity issue 23501.
This commit is contained in:
parent
c925748126
commit
0e2ef88b43
@ -64,10 +64,10 @@ class Lexer
|
||||
{
|
||||
public:
|
||||
/// initialize Lexer with no special keywords.
|
||||
Lexer();
|
||||
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