[Scummvm-cvs-logs] SF.net SVN: scummvm:[42985] scummvm/branches/gsoc2009-mods/sound/mods/tfmx. cpp
nolange at users.sourceforge.net
nolange at users.sourceforge.net
Sun Aug 2 02:27:15 CEST 2009
Revision: 42985
http://scummvm.svn.sourceforge.net/scummvm/?rev=42985&view=rev
Author: nolange
Date: 2009-08-02 00:27:15 +0000 (Sun, 02 Aug 2009)
Log Message:
-----------
fix some more harmless warnings to make gcc shutup
Modified Paths:
--------------
scummvm/branches/gsoc2009-mods/sound/mods/tfmx.cpp
Modified: scummvm/branches/gsoc2009-mods/sound/mods/tfmx.cpp
===================================================================
--- scummvm/branches/gsoc2009-mods/sound/mods/tfmx.cpp 2009-08-02 00:15:38 UTC (rev 42984)
+++ scummvm/branches/gsoc2009-mods/sound/mods/tfmx.cpp 2009-08-02 00:27:15 UTC (rev 42985)
@@ -983,14 +983,14 @@
}
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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list