diff options
author | D G Turner | 2019-12-12 17:31:01 +0000 |
---|---|---|
committer | D G Turner | 2019-12-12 17:31:01 +0000 |
commit | 799a088b6edb7772c01d60ebc3e6160bb26ce8fc (patch) | |
tree | c3586556fd1efe38db42629427c718af16ca41d7 /engines/gob/inter_v1.cpp | |
parent | f62dc99600da83128b7ee1c08bfb09ebc6539173 (diff) | |
download | scummvm-rg350-799a088b6edb7772c01d60ebc3e6160bb26ce8fc.tar.gz scummvm-rg350-799a088b6edb7772c01d60ebc3e6160bb26ce8fc.tar.bz2 scummvm-rg350-799a088b6edb7772c01d60ebc3e6160bb26ce8fc.zip |
GOB: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/gob/inter_v1.cpp')
-rw-r--r-- | engines/gob/inter_v1.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/engines/gob/inter_v1.cpp b/engines/gob/inter_v1.cpp index 676564a9fb..f77b970e93 100644 --- a/engines/gob/inter_v1.cpp +++ b/engines/gob/inter_v1.cpp @@ -901,6 +901,8 @@ void Inter_v1::o1_assign(OpFuncParams ¶ms) { WRITE_VARO_STR(dest, _vm->_game->_script->getResultStr()); break; + default: + break; } } @@ -969,6 +971,9 @@ void Inter_v1::o1_printText(OpFuncParams ¶ms) { sprintf(buf + i, "%s", GET_VARO_STR(_vm->_game->_script->readVarIndex())); break; + + default: + break; } _vm->_game->_script->skip(1); } else @@ -1059,6 +1064,9 @@ void Inter_v1::o1_palLoad(OpFuncParams ¶ms) { return; } break; + + default: + break; } if ((cmd & 0x7F) == 0x30) { @@ -1164,6 +1172,9 @@ void Inter_v1::o1_palLoad(OpFuncParams ¶ms) { return; } break; + + default: + break; } if (!_vm->_draw->_applyPal) { |