[Scummvm-cvs-logs] SF.net SVN: scummvm:[53605] scummvm/trunk/engines/lastexpress/game/sound. cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Tue Oct 19 11:43:08 CEST 2010
Revision: 53605
http://scummvm.svn.sourceforge.net/scummvm/?rev=53605&view=rev
Author: fingolfin
Date: 2010-10-19 09:43:08 +0000 (Tue, 19 Oct 2010)
Log Message:
-----------
LASTEXPRESS: Fix warning about empty loop body
Modified Paths:
--------------
scummvm/trunk/engines/lastexpress/game/sound.cpp
Modified: scummvm/trunk/engines/lastexpress/game/sound.cpp
===================================================================
--- scummvm/trunk/engines/lastexpress/game/sound.cpp 2010-10-19 09:42:48 UTC (rev 53604)
+++ scummvm/trunk/engines/lastexpress/game/sound.cpp 2010-10-19 09:43:08 UTC (rev 53605)
@@ -354,7 +354,8 @@
entry->status.status |= kSoundStatusRemoved;
// Loop until ready
- while (!(entry->status.status1 & 4) && !(_flag & 8) && (_flag & 1));
+ while (!(entry->status.status1 & 4) && !(_flag & 8) && (_flag & 1))
+ ; // empty loop body
// The original game remove the entry from the cache here,
// but since we are called from within an iterator loop
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