aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/ksound.cpp
diff options
context:
space:
mode:
authorD G Turner2019-12-01 05:06:31 +0000
committerD G Turner2019-12-01 05:06:31 +0000
commitd11c61db1466d79ef6253814a86b04950b499ec3 (patch)
tree2987143903d00c9e6b0b8a8490aade67fe052b68 /engines/sci/engine/ksound.cpp
parentf0c02796f44f7302719b0b107d0f0af6b00ffc50 (diff)
downloadscummvm-rg350-d11c61db1466d79ef6253814a86b04950b499ec3.tar.gz
scummvm-rg350-d11c61db1466d79ef6253814a86b04950b499ec3.tar.bz2
scummvm-rg350-d11c61db1466d79ef6253814a86b04950b499ec3.zip
SCI: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/sci/engine/ksound.cpp')
-rw-r--r--engines/sci/engine/ksound.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/ksound.cpp b/engines/sci/engine/ksound.cpp
index 1a34e82c5e..321e83d947 100644
--- a/engines/sci/engine/ksound.cpp
+++ b/engines/sci/engine/ksound.cpp
@@ -92,6 +92,8 @@ reg_t kDoSoundPhantasmagoriaMac(EngineState *s, int argc, reg_t *argv) {
return g_sci->_soundCmd->kDoSoundSetLoop(s, argc - 1, argv + 1);
case 10:
return g_sci->_soundCmd->kDoSoundUpdateCues(s, argc - 1, argv + 1);
+ default:
+ break;
}
error("Unknown kDoSound Phantasmagoria Mac subop %d", argv[0].toUint16());