[Scummvm-git-logs] scummvm master -> 3da63f25af81ab2eeaf99da35fe94d26bff46619
somaen
noreply at scummvm.org
Sat Apr 29 22:17:37 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
3da63f25af WINTERMUTE: Initialize BaseParser::_parserLine
Commit: 3da63f25af81ab2eeaf99da35fe94d26bff46619
https://github.com/scummvm/scummvm/commit/3da63f25af81ab2eeaf99da35fe94d26bff46619
Author: Einar Johan Trøan SømaÌen (somaen at scummvm.org)
Date: 2023-04-30T00:16:47+02:00
Commit Message:
WINTERMUTE: Initialize BaseParser::_parserLine
The variable is unused, but can be useful for debug.
Having it uninitialized creates a lot of Coverity warnings.
Changed paths:
engines/wintermute/base/base_parser.h
diff --git a/engines/wintermute/base/base_parser.h b/engines/wintermute/base/base_parser.h
index d0f69d9f016..3918dd38e37 100644
--- a/engines/wintermute/base/base_parser.h
+++ b/engines/wintermute/base/base_parser.h
@@ -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;
};
More information about the Scummvm-git-logs
mailing list