diff options
author | D G Turner | 2019-12-23 11:56:16 +0000 |
---|---|---|
committer | D G Turner | 2019-12-23 11:56:16 +0000 |
commit | 59b639ed4d9b8c45644053641522dedabd12fa56 (patch) | |
tree | cc98618132f1de362fca07369718af68df44e70a /engines/scumm/imuse_digi | |
parent | d5808d2903e2cc2a04e8545b84f1528230a9b010 (diff) | |
download | scummvm-rg350-59b639ed4d9b8c45644053641522dedabd12fa56.tar.gz scummvm-rg350-59b639ed4d9b8c45644053641522dedabd12fa56.tar.bz2 scummvm-rg350-59b639ed4d9b8c45644053641522dedabd12fa56.zip |
SCUMM: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/scumm/imuse_digi')
-rw-r--r-- | engines/scumm/imuse_digi/dimuse_music.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/scumm/imuse_digi/dimuse_music.cpp b/engines/scumm/imuse_digi/dimuse_music.cpp index 46c457c864..281d06b150 100644 --- a/engines/scumm/imuse_digi/dimuse_music.cpp +++ b/engines/scumm/imuse_digi/dimuse_music.cpp @@ -174,6 +174,7 @@ void IMuseDigital::playDigMusic(const char *songName, const imuseDigTable *table switch (table->transitionType) { case 0: case 5: + default: break; case 3: case 4: @@ -301,6 +302,7 @@ void IMuseDigital::playComiMusic(const char *songName, const imuseComiTable *tab switch (table->transitionType) { case 0: + default: break; case 8: setHookIdForMusic(table->hookId); @@ -432,6 +434,7 @@ void IMuseDigital::playFtMusic(const char *songName, int opcode, int volume) { switch (opcode) { case 0: case 4: + default: break; case 1: case 2: |