diff options
author | D G Turner | 2019-10-17 00:47:34 +0100 |
---|---|---|
committer | D G Turner | 2019-10-17 00:47:34 +0100 |
commit | f7593adb3e778b733d300ff97216b2ff61439bbd (patch) | |
tree | 65685c5afad846ba3cd7a7f0bce1cc0cc2c80b88 /engines/cine/script_fw.cpp | |
parent | de42a124ed21f412ef1a23b09a6a3954d0cb2df0 (diff) | |
download | scummvm-rg350-f7593adb3e778b733d300ff97216b2ff61439bbd.tar.gz scummvm-rg350-f7593adb3e778b733d300ff97216b2ff61439bbd.tar.bz2 scummvm-rg350-f7593adb3e778b733d300ff97216b2ff61439bbd.zip |
CINE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/cine/script_fw.cpp')
-rw-r--r-- | engines/cine/script_fw.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/cine/script_fw.cpp b/engines/cine/script_fw.cpp index 86eb709d5a..4383c11d81 100644 --- a/engines/cine/script_fw.cpp +++ b/engines/cine/script_fw.cpp @@ -459,6 +459,8 @@ int RawScript::getNextLabel(const FWScriptInfo &info, int offset) const { break; case 'x': // exit script return -pos - 1; + default: + break; } } } @@ -1439,6 +1441,8 @@ int FWScript::o1_loadNewPrcName() { debugC(5, kCineDebugScript, "Line: %d: loadMsg(\"%s\")", _line, param2); Common::strlcpy(newMsgName, param2, sizeof(newMsgName)); break; + default: + break; } return 0; } |