X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fparser.h;h=1437190b606b89640afabd4619a62c4fe21f65c8;hb=HEAD;hp=c15fee8eb6ade6445d2f485ae5b86fe7a23f199d;hpb=9d0291952255969770e4978a0fe9e7e4839359c8;p=libs%2Fdatafile.git diff --git a/source/parser.h b/source/parser.h index c15fee8..ed7a037 100644 --- a/source/parser.h +++ b/source/parser.h @@ -25,8 +25,8 @@ private: Input in; std::string main_src; std::string src; - bool good; - ParserMode *mode; + bool good = true; + ParserMode *mode = nullptr; public: Parser(IO::Base &i, const std::string &s);