SCI: Avoid (false positive) uninitialized use warning

This commit is contained in:
Willem Jan Palenstijn 2018-02-01 20:18:38 +01:00
parent 0f98a60d35
commit 2e74fd8f22

View File

@ -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;
}
}