[Scummvm-cvs-logs] SF.net SVN: scummvm: [28500] scummvm/branches/branch-0-10-0
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Thu Aug 9 07:26:22 CEST 2007
Revision: 28500
http://scummvm.svn.sourceforge.net/scummvm/?rev=28500&view=rev
Author: Kirben
Date: 2007-08-08 22:26:22 -0700 (Wed, 08 Aug 2007)
Log Message:
-----------
Fix compile warnings.
Modified Paths:
--------------
scummvm/branches/branch-0-10-0/engines/agi/sound.cpp
scummvm/branches/branch-0-10-0/sound/mods/protracker.cpp
Modified: scummvm/branches/branch-0-10-0/engines/agi/sound.cpp
===================================================================
--- scummvm/branches/branch-0-10-0/engines/agi/sound.cpp 2007-08-09 05:01:10 UTC (rev 28499)
+++ scummvm/branches/branch-0-10-0/engines/agi/sound.cpp 2007-08-09 05:26:22 UTC (rev 28500)
@@ -157,9 +157,9 @@
void SoundMgr::unloadSound(int resnum) {
if (_vm->_game.dirSound[resnum].flags & RES_LOADED) {
- if (_vm->_game.sounds[resnum].flags & SOUND_PLAYING)
+ if (_vm->_game.sounds[resnum].flags & SOUND_PLAYING) {
/* FIXME: Stop playing */
- ;
+ }
/* Release RAW data for sound */
free(_vm->_game.sounds[resnum].rdata);
Modified: scummvm/branches/branch-0-10-0/sound/mods/protracker.cpp
===================================================================
--- scummvm/branches/branch-0-10-0/sound/mods/protracker.cpp 2007-08-09 05:01:10 UTC (rev 28499)
+++ scummvm/branches/branch-0-10-0/sound/mods/protracker.cpp 2007-08-09 05:26:22 UTC (rev 28500)
@@ -206,7 +206,6 @@
}
int exy = note.effect & 0xff;
- if (exy);
int ex = (note.effect >> 4) & 0xf;
int ey = note.effect & 0xf;
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