From 9bebe4c607d3ed443e0a463a0d48d50832c0b2eb Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 22 Jun 2016 09:49:27 +0100 Subject: [PATCH] Added initializers --- src/osgPlugins/cfg/ConfigLexer.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/osgPlugins/cfg/ConfigLexer.cpp b/src/osgPlugins/cfg/ConfigLexer.cpp index d81fce112..e1d8f8a31 100644 --- a/src/osgPlugins/cfg/ConfigLexer.cpp +++ b/src/osgPlugins/cfg/ConfigLexer.cpp @@ -1523,6 +1523,16 @@ yyFlexLexer::yyFlexLexer( std::istream* arg_yyin, std::ostream* arg_yyout ) #else yy_state_buf = 0; #endif + + yy_hold_char = 0; + yy_n_chars = 0; + yy_last_accepting_state = 0; + yy_last_accepting_cpos = 0; + + yy_state_ptr = 0; + yy_full_match = 0; + yy_full_state = 0; + yy_full_lp = 0; } yyFlexLexer::~yyFlexLexer()