WINTERMUTE: Initialize BaseParser::_parserLine

The variable is unused, but can be useful for debug.

Having it uninitialized creates a lot of Coverity warnings.
This commit is contained in:
Einar Johan Trøan Sømåen 2023-04-30 00:15:18 +02:00
parent f51f3bd1d4
commit 3da63f25af
No known key found for this signature in database
GPG Key ID: 0DFF2FB496CF9F93

View File

@ -77,7 +77,7 @@ private:
char *getSubText(char **buf, char open, char close);
void skipCharacters(char **buf, const char *toSkip);
int32 getObject(char **buf, const TokenDesc *tokens, char **name, char **data);
int32 _parserLine;
int32 _parserLine = 0;
char _lastOffender[255];
char *_whiteSpace;
};