aboutsummaryrefslogtreecommitdiff
path: root/audio/decoders
diff options
context:
space:
mode:
authorD G Turner2019-11-17 08:20:01 +0000
committerD G Turner2019-11-17 08:20:01 +0000
commit28287d70b6879ab140b90150d9bc747fbc17510d (patch)
tree4f833cfda95a2935693d0644e3c6024e0df2f8c6 /audio/decoders
parent3d112e1622f416223e24e631af38960bb1c0e514 (diff)
downloadscummvm-rg350-28287d70b6879ab140b90150d9bc747fbc17510d.tar.gz
scummvm-rg350-28287d70b6879ab140b90150d9bc747fbc17510d.tar.bz2
scummvm-rg350-28287d70b6879ab140b90150d9bc747fbc17510d.zip
AUDIO: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'audio/decoders')
-rw-r--r--audio/decoders/iff_sound.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/audio/decoders/iff_sound.cpp b/audio/decoders/iff_sound.cpp
index e42918cb62..7af082128b 100644
--- a/audio/decoders/iff_sound.cpp
+++ b/audio/decoders/iff_sound.cpp
@@ -79,6 +79,9 @@ struct A8SVXLoader {
assert(_data);
loadData(chunk._stream);
return true;
+
+ default:
+ break;
}
return false;
@@ -94,6 +97,9 @@ struct A8SVXLoader {
// implement other formats here
error("compressed IFF audio is not supported");
break;
+
+ default:
+ break;
}
}