[Scummvm-cvs-logs] scummvm master -> 530bf27af6ad216be3f80537df513fee0eb61e6a

fingolfin max at quendi.de
Sat May 14 14:29:11 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
530bf27af6 LASTEXPRESS: Silence compiler warning


Commit: 530bf27af6ad216be3f80537df513fee0eb61e6a
    https://github.com/scummvm/scummvm/commit/530bf27af6ad216be3f80537df513fee0eb61e6a
Author: Max Horn (max at quendi.de)
Date: 2011-05-14T05:27:06-07:00

Commit Message:
LASTEXPRESS: Silence compiler warning

Changed paths:
    engines/lastexpress/game/sound.cpp



diff --git a/engines/lastexpress/game/sound.cpp b/engines/lastexpress/game/sound.cpp
index 5cfe990..d5e1118 100644
--- a/engines/lastexpress/game/sound.cpp
+++ b/engines/lastexpress/game/sound.cpp
@@ -367,7 +367,8 @@ bool SoundManager::setupCache(SoundEntry *entry) {
 			setInCache(cacheEntry);
 
 		// TODO: Wait until the cache entry is ready to be removed
-		while (!(cacheEntry->status.status1 & 1));
+		while (!(cacheEntry->status.status1 & 1))
+			;
 
 		if (cacheEntry->soundData)
 			removeFromCache(cacheEntry);






More information about the Scummvm-git-logs mailing list