commit 0e2ef88b43f4129b7701752f1de95cdb52e9372e
Author: Jean-Marc Lasgouttes <[email protected]>
Date:   Thu Mar 5 12:24:47 2015 +0100

    Fix uninitialized member in Lexer constructor
    
    Fixes coverity issue 23501.

diff --git a/src/Lexer.h b/src/Lexer.h
index 79efa58..dc56a4a 100644
--- a/src/Lexer.h
+++ b/src/Lexer.h
@@ -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();

Reply via email to