mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
Silencing two "empty loop body" warnings
svn-id: r42856
This commit is contained in:
parent
14114bf397
commit
f832d0fc56
@ -185,7 +185,7 @@ int16 Scenery::loadStatic(char search) {
|
||||
_staticPictToSprite[7 * sceneryIndex + i] = sprIndex;
|
||||
_spriteRefs[sprIndex]++;
|
||||
} else {
|
||||
for (sprIndex = 19; _vm->_draw->_spritesArray[sprIndex] != 0; sprIndex--);
|
||||
for (sprIndex = 19; _vm->_draw->_spritesArray[sprIndex] != 0; sprIndex--) { }
|
||||
|
||||
_staticPictToSprite[7 * sceneryIndex + i] = sprIndex;
|
||||
_spriteRefs[sprIndex] = 1;
|
||||
|
@ -201,7 +201,7 @@ int32 Script::readInt32() {
|
||||
char *Script::readString(int32 length) {
|
||||
if (length < 0) {
|
||||
length = 0;
|
||||
while (_totPtr[length++] != '\0');
|
||||
while (_totPtr[length++] != '\0') { }
|
||||
}
|
||||
|
||||
char *string = (char *) _totPtr;
|
||||
|
Loading…
Reference in New Issue
Block a user