diff options
author | Peter Kohaut | 2018-02-01 20:40:49 +0100 |
---|---|---|
committer | Peter Kohaut | 2018-02-01 21:38:30 +0100 |
commit | 7f53a0cd31f07cdcc9610b3c6972002e296ff0ee (patch) | |
tree | d01c2b034c231fd452ac18d95edad6e733c75581 /engines/bladerunner/game_info.cpp | |
parent | 2e74fd8f224428a368cb3301c12e613d3111d424 (diff) | |
download | scummvm-rg350-7f53a0cd31f07cdcc9610b3c6972002e296ff0ee.tar.gz scummvm-rg350-7f53a0cd31f07cdcc9610b3c6972002e296ff0ee.tar.bz2 scummvm-rg350-7f53a0cd31f07cdcc9610b3c6972002e296ff0ee.zip |
BLADERUNNER: Fixed few Coverity issues
Diffstat (limited to 'engines/bladerunner/game_info.cpp')
-rw-r--r-- | engines/bladerunner/game_info.cpp | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/engines/bladerunner/game_info.cpp b/engines/bladerunner/game_info.cpp index baffb87428..c26bfa5418 100644 --- a/engines/bladerunner/game_info.cpp +++ b/engines/bladerunner/game_info.cpp @@ -31,10 +31,26 @@ namespace BladeRunner { GameInfo::GameInfo(BladeRunnerEngine *vm) { _vm = vm; - _sceneNames = nullptr; - _sfxTracks = nullptr; - _musicTracks = nullptr; - _outtakes = nullptr; + _sceneNames = nullptr; + _sfxTracks = nullptr; + _musicTracks = nullptr; + _outtakes = nullptr; + _actorCount = 0; + _playerId = 0; + _flagCount = 0; + _clueCount = 0; + _globalVarCount = 0; + _setNamesCount = 0; + _initialSceneId = 0; + _initialSetId = 0; + _waypointCount = 0; + _sfxTrackCount = 0; + _musicTrackCount = 0; + _outtakeCount = 0; + _crimeCount = 0; + _suspectCount = 0; + _coverWaypointCount = 0; + _fleeWaypointCount = 0; } GameInfo::~GameInfo() { |