aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth
diff options
context:
space:
mode:
authorTorbjörn Andersson2017-08-06 16:54:38 +0200
committerTorbjörn Andersson2017-08-06 16:54:38 +0200
commit665f5c99b2ca3db67f75ecfa683389e213d942a6 (patch)
tree4d519f502a58eb8ac3cf1c73beed10396bbaccdf /audio/softsynth
parenta57c5b385decbd4c1bf15f2eace01bf7cb33f246 (diff)
downloadscummvm-rg350-665f5c99b2ca3db67f75ecfa683389e213d942a6.tar.gz
scummvm-rg350-665f5c99b2ca3db67f75ecfa683389e213d942a6.tar.bz2
scummvm-rg350-665f5c99b2ca3db67f75ecfa683389e213d942a6.zip
JANITORIAL: Silence some more GCC 7 fall through warnings
I think these are the last one that were already flagged as being deliberate.
Diffstat (limited to 'audio/softsynth')
-rwxr-xr-xaudio/softsynth/mt32/Synth.cpp4
-rw-r--r--audio/softsynth/opl/dbopl.cpp1
2 files changed, 3 insertions, 2 deletions
diff --git a/audio/softsynth/mt32/Synth.cpp b/audio/softsynth/mt32/Synth.cpp
index 00832c5d50..3a478b5b62 100755
--- a/audio/softsynth/mt32/Synth.cpp
+++ b/audio/softsynth/mt32/Synth.cpp
@@ -1057,7 +1057,7 @@ void Synth::playSysexWithoutHeader(Bit8u device, Bit8u command, const Bit8u *sys
break;
}
*/
- // Deliberate fall-through
+ // fall through
case SYSEX_CMD_DT1:
writeSysex(device, sysex, len);
break;
@@ -1067,7 +1067,7 @@ void Synth::playSysexWithoutHeader(Bit8u device, Bit8u command, const Bit8u *sys
// FIXME: We should send SYSEX_CMD_RJC in this case
break;
}
- // Deliberate fall-through
+ // fall through
case SYSEX_CMD_RQ1:
readSysex(device, sysex, len);
break;
diff --git a/audio/softsynth/opl/dbopl.cpp b/audio/softsynth/opl/dbopl.cpp
index 43eb40e7ba..19be94cf69 100644
--- a/audio/softsynth/opl/dbopl.cpp
+++ b/audio/softsynth/opl/dbopl.cpp
@@ -413,6 +413,7 @@ Bits Operator::TemplateVolume( ) {
return vol;
}
//In sustain phase, but not sustaining, do regular release
+ //fall through
case RELEASE:
vol += RateForward( releaseAdd );
if ( GCC_UNLIKELY(vol >= ENV_MAX) ) {