diff options
author | D G Turner | 2019-12-01 21:41:21 +0000 |
---|---|---|
committer | D G Turner | 2019-12-01 21:41:21 +0000 |
commit | b7c397412dd2cd5aa81723fa31d9e13ee83e1493 (patch) | |
tree | b66ad2c612f20719459d55c403b57d02cc006bde /engines/pegasus/neighborhood/norad/subplatform.cpp | |
parent | 64eb072103dcb4789858470ac9d40d4c6f3b8841 (diff) | |
download | scummvm-rg350-b7c397412dd2cd5aa81723fa31d9e13ee83e1493.tar.gz scummvm-rg350-b7c397412dd2cd5aa81723fa31d9e13ee83e1493.tar.bz2 scummvm-rg350-b7c397412dd2cd5aa81723fa31d9e13ee83e1493.zip |
PEGASUS: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/pegasus/neighborhood/norad/subplatform.cpp')
-rw-r--r-- | engines/pegasus/neighborhood/norad/subplatform.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/pegasus/neighborhood/norad/subplatform.cpp b/engines/pegasus/neighborhood/norad/subplatform.cpp index 34836e3dbb..16b8ad658e 100644 --- a/engines/pegasus/neighborhood/norad/subplatform.cpp +++ b/engines/pegasus/neighborhood/norad/subplatform.cpp @@ -127,6 +127,7 @@ void SubPlatform::receiveNotification(Notification *notification, const Notifica break; case kSubDamaged: // Shouldn't happen. + default: break; } break; @@ -161,6 +162,8 @@ void SubPlatform::receiveNotification(Notification *notification, const Notifica _stateBits |= kWaitingForPlayerBit; allowInput(true); break; + default: + break; } } else if (notification == _neighborhoodNotification) { allowInput(true); |