From f020ec90779dd4db968df7dfd1e2961434ea3fc6 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 19 Oct 2010 09:43:08 +0000 Subject: LASTEXPRESS: Fix warning about empty loop body svn-id: r53605 --- engines/lastexpress/game/sound.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3