diff options
author | Paul Gilbert | 2016-11-08 20:25:14 -0500 |
---|---|---|
committer | Paul Gilbert | 2016-11-08 20:25:14 -0500 |
commit | f1615d83d76ededc3966635c9dc15e6ab79cc6d4 (patch) | |
tree | 9d25e3334255e10cfe7767c75ef1c3efa93364e8 /engines | |
parent | 806e5827f1599d650836546b7abadc7d61d0bc28 (diff) | |
download | scummvm-rg350-f1615d83d76ededc3966635c9dc15e6ab79cc6d4.tar.gz scummvm-rg350-f1615d83d76ededc3966635c9dc15e6ab79cc6d4.tar.bz2 scummvm-rg350-f1615d83d76ededc3966635c9dc15e6ab79cc6d4.zip |
TITANIC: Fix compiler warnings
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/events.cpp | 1 | ||||
-rw-r--r-- | engines/titanic/room_flags.cpp | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/engines/titanic/events.cpp b/engines/titanic/events.cpp index 89ad33881e..97f9a86eb3 100644 --- a/engines/titanic/events.cpp +++ b/engines/titanic/events.cpp @@ -138,7 +138,6 @@ void Events::sleep(uint time) { } bool Events::waitForPress(uint expiry) { - CGameManager *gameManager = g_vm->_window->_gameManager; uint32 delayEnd = g_system->getMillis() + expiry; CPressTarget pressTarget; addTarget(&pressTarget); diff --git a/engines/titanic/room_flags.cpp b/engines/titanic/room_flags.cpp index 75baf2c678..07303d8bfa 100644 --- a/engines/titanic/room_flags.cpp +++ b/engines/titanic/room_flags.cpp @@ -425,6 +425,9 @@ void CRoomFlags::changeClass(PassengerClass newClassNum) { case UNCHECKED: if (++floorNum > v11) floorNum = v11; + + default: + break; } // Set new floor and room |