aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorNorbert Lange2009-08-02 00:27:15 +0000
committerNorbert Lange2009-08-02 00:27:15 +0000
commitbb9f1d6a252b3986620a6e4e68c6d0f60123fdf8 (patch)
tree1c7533c190551cda9f4f08648ccc3d910aad4007 /sound
parent2dd551695478eb6fc56cf13c791dd31600de7b8f (diff)
downloadscummvm-rg350-bb9f1d6a252b3986620a6e4e68c6d0f60123fdf8.tar.gz
scummvm-rg350-bb9f1d6a252b3986620a6e4e68c6d0f60123fdf8.tar.bz2
scummvm-rg350-bb9f1d6a252b3986620a6e4e68c6d0f60123fdf8.zip
fix some more harmless warnings to make gcc shutup
svn-id: r42985
Diffstat (limited to 'sound')
-rw-r--r--sound/mods/tfmx.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/mods/tfmx.cpp b/sound/mods/tfmx.cpp
index de8f9d797d..701fff4f24 100644
--- a/sound/mods/tfmx.cpp
+++ b/sound/mods/tfmx.cpp
@@ -983,14 +983,14 @@ void Tfmx::doSong(int songPos, bool stopAudio) {
}
int Tfmx::doSfx(uint16 sfxIndex, bool unlockChannel) {
- assert(0 <= sfxIndex && sfxIndex < 128);
+ assert(sfxIndex < 128);
Common::StackLock lock(_mutex);
const byte *sfxEntry = getSfxPtr(sfxIndex);
if (sfxEntry[0] == 0xFB) {
// custompattern
- const uint8 patCmd = sfxEntry[2];
- const int8 patExp = (int8)sfxEntry[3];
+ /* const uint8 patCmd = sfxEntry[2];
+ const int8 patExp = (int8)sfxEntry[3]; */
} else {
// custommacro
const byte channelNo = ((_playerCtx.song >= 0) ? sfxEntry[2] : sfxEntry[4]) & (kNumVoices - 1);