diff options
author | D G Turner | 2018-11-13 12:10:30 +0000 |
---|---|---|
committer | D G Turner | 2018-11-13 12:10:30 +0000 |
commit | 09abcc5c2c59341fadd0450db3755e1d2662655d (patch) | |
tree | eddfbc516069531d83a92f0b7ce6f4b72837610b /engines/sci/engine | |
parent | c006f405f3b9e7109ab5f0dd08671d26c582f886 (diff) | |
download | scummvm-rg350-09abcc5c2c59341fadd0450db3755e1d2662655d.tar.gz scummvm-rg350-09abcc5c2c59341fadd0450db3755e1d2662655d.tar.bz2 scummvm-rg350-09abcc5c2c59341fadd0450db3755e1d2662655d.zip |
SCI: Fix Fall Through Compiler Warnings.
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/ksound.cpp | 2 | ||||
-rw-r--r-- | engines/sci/engine/scriptdebug.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/engine/ksound.cpp b/engines/sci/engine/ksound.cpp index 4d171bdd1c..e6cd4ffc7f 100644 --- a/engines/sci/engine/ksound.cpp +++ b/engines/sci/engine/ksound.cpp @@ -257,6 +257,8 @@ reg_t kDoAudio(EngineState *s, int argc, reg_t *argv) { debugC(kDebugLevelSound, "kDoAudio: CD audio subop"); return kDoCdAudio(s, argc - 1, argv + 1); } + // fall through + // FIXME: fall through intended? // 3 new subops in Pharkas CD (including CD demo). kDoAudio in Pharkas sits at seg026:038C case 11: diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp index f884e4da60..f5c1f8de8f 100644 --- a/engines/sci/engine/scriptdebug.cpp +++ b/engines/sci/engine/scriptdebug.cpp @@ -450,6 +450,8 @@ void SciEngine::scriptDebug() { case kDebugSeekSpecialCallk: if (paramb1 != _debugState.seekSpecial) return; + // fall through + // FIXME: fall through intended? case kDebugSeekCallk: if (op != op_callk) |