diff options
| author | D G Turner | 2019-11-15 02:51:50 +0000 |
|---|---|---|
| committer | D G Turner | 2019-11-15 02:51:50 +0000 |
| commit | 4af25ccfddec83d0525ad43c309fe8d3b751ea7b (patch) | |
| tree | b1e4c6de4382e18c137d9d349109f50ee77a9019 /engines/lure/hotspots.cpp | |
| parent | f113a00141940477db0bd9aeffc554fd8a72c57e (diff) | |
| download | scummvm-rg350-4af25ccfddec83d0525ad43c309fe8d3b751ea7b.tar.gz scummvm-rg350-4af25ccfddec83d0525ad43c309fe8d3b751ea7b.tar.bz2 scummvm-rg350-4af25ccfddec83d0525ad43c309fe8d3b751ea7b.zip | |
LURE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/lure/hotspots.cpp')
| -rw-r--r-- | engines/lure/hotspots.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp index 7513575bd4..940215066f 100644 --- a/engines/lure/hotspots.cpp +++ b/engines/lure/hotspots.cpp @@ -2834,6 +2834,9 @@ void HotspotTickHandlers::standardCharacterAnimHandler(Hotspot &h) { h.setOccupied(true); break; + + default: + break; } debugC(ERROR_DETAILED, kLureDebugAnimations, "Hotspot standard character point 7"); } @@ -3151,6 +3154,9 @@ void HotspotTickHandlers::playerAnimHandler(Hotspot &h) { } h.setOccupied(true); break; + + default: + break; } debugC(ERROR_DETAILED, kLureDebugAnimations, "Hotspot player anim handler end"); @@ -3680,6 +3686,9 @@ void HotspotTickHandlers::talkAnimHandler(Hotspot &h) { talkEndConversation(); } break; + + default: + break; } } @@ -3925,6 +3934,7 @@ void HotspotTickHandlers::barmanAnimHandler(Hotspot &h) { break; case WAIT: + default: // Immediate break, since the code outside the switch handles stopping the barman break; } |
