aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2010-10-19 09:43:08 +0000
committerMax Horn2010-10-19 09:43:08 +0000
commitf020ec90779dd4db968df7dfd1e2961434ea3fc6 (patch)
tree5942c28c8909cd2f133047a50e609fab38143dfe /engines
parentebf9911649f6596128493c5965f5b5638a029812 (diff)
downloadscummvm-rg350-f020ec90779dd4db968df7dfd1e2961434ea3fc6.tar.gz
scummvm-rg350-f020ec90779dd4db968df7dfd1e2961434ea3fc6.tar.bz2
scummvm-rg350-f020ec90779dd4db968df7dfd1e2961434ea3fc6.zip
LASTEXPRESS: Fix warning about empty loop body
svn-id: r53605
Diffstat (limited to 'engines')
-rw-r--r--engines/lastexpress/game/sound.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/lastexpress/game/sound.cpp b/engines/lastexpress/game/sound.cpp
index f8b45bb385..c8d8809bc3 100644
--- a/engines/lastexpress/game/sound.cpp
+++ b/engines/lastexpress/game/sound.cpp
@@ -354,7 +354,8 @@ void SoundManager::removeEntry(SoundEntry *entry) {
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