[Scummvm-cvs-logs] scummvm master -> 9cf7d1ba608908c8a52d663e2bd894afe6b63df4

eriktorbjorn eriktorbjorn at telia.com
Mon Nov 23 00:17:13 CET 2015


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:
9cf7d1ba60 MADS: Silence two GCC warnings


Commit: 9cf7d1ba608908c8a52d663e2bd894afe6b63df4
    https://github.com/scummvm/scummvm/commit/9cf7d1ba608908c8a52d663e2bd894afe6b63df4
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2015-11-23T00:15:55+01:00

Commit Message:
MADS: Silence two GCC warnings

The other warnings will require some further investigation.

Changed paths:
    engines/mads/phantom/game_phantom.cpp



diff --git a/engines/mads/phantom/game_phantom.cpp b/engines/mads/phantom/game_phantom.cpp
index 7e61241..597d404 100644
--- a/engines/mads/phantom/game_phantom.cpp
+++ b/engines/mads/phantom/game_phantom.cpp
@@ -888,14 +888,14 @@ int GamePhantom::exitCatacombs(int dir) {
 	int scene = _globals[kCatacombsRoom];
 	assert ((scene < _catacombSize) && (dir < 4));
 	return (_catacombs[scene]._exit[dir]);
-};
+}
 
 void GamePhantom::moveCatacombs(int dir) {
 	assert(_globals[kCatacombsRoom] = CLIP(_globals[kCatacombsRoom], 0, _catacombSize));
 	assert(dir = CLIP(dir, 0, 3));
 
 	newCatacombRoom(_catacombs[_globals[kCatacombsRoom]]._fromDirection[dir], _catacombs[_globals[kCatacombsRoom]]._exit[dir]);
-};
+}
 
 void GamePhantom::newCatacombRoom(int toRoom, int fromExit) {
 	_globals[kCatacombsNextRoom] = toRoom;






More information about the Scummvm-git-logs mailing list