diff options
author | Willem Jan Palenstijn | 2018-02-01 20:18:38 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2018-02-01 20:19:27 +0100 |
commit | 2e74fd8f224428a368cb3301c12e613d3111d424 (patch) | |
tree | d4cf38d130f2c02b400f6857b55cf93e471b6168 /engines/sci/console.cpp | |
parent | 0f98a60d354ba9fcd4b6263512afaac7e7b0f2be (diff) | |
download | scummvm-rg350-2e74fd8f224428a368cb3301c12e613d3111d424.tar.gz scummvm-rg350-2e74fd8f224428a368cb3301c12e613d3111d424.tar.bz2 scummvm-rg350-2e74fd8f224428a368cb3301c12e613d3111d424.zip |
SCI: Avoid (false positive) uninitialized use warning
Diffstat (limited to 'engines/sci/console.cpp')
-rw-r--r-- | engines/sci/console.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp index 42a87ce44e..9e7b017276 100644 --- a/engines/sci/console.cpp +++ b/engines/sci/console.cpp @@ -913,7 +913,7 @@ bool Console::cmdResourceIntegrityDump(int argc, const char **argv) { // with VMDs in GK2.) Common::List<ResourceId> resources = _engine->getResMan()->listResources(resType); - const char *extension; + const char *extension = ""; if (videoFiles) { switch (resType) { case kResourceTypeRobot: @@ -937,7 +937,7 @@ bool Console::cmdResourceIntegrityDump(int argc, const char **argv) { break; } default: - extension = ""; + break; } } |