Fix uninitialized member in Lexer constructor

Fixes coverity issue 23501.
This commit is contained in:
Jean-Marc Lasgouttes 2015-03-05 12:24:47 +01:00
parent c925748126
commit 0e2ef88b43

View File

@ -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();