mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-03 16:09:32 +00:00
SCI: Avoid (false positive) uninitialized use warning
This commit is contained in:
parent
0f98a60d35
commit
2e74fd8f22
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user