SCI: Avoid (false positive) uninitialized use warning
This commit is contained in:
parent
0f98a60d35
commit
2e74fd8f22
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue