From bb9f1d6a252b3986620a6e4e68c6d0f60123fdf8 Mon Sep 17 00:00:00 2001 From: Norbert Lange Date: Sun, 2 Aug 2009 00:27:15 +0000 Subject: fix some more harmless warnings to make gcc shutup svn-id: r42985 --- sound/mods/tfmx.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sound') 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); -- cgit v1.2.3