diff options
author | D G Turner | 2019-10-20 15:39:58 +0100 |
---|---|---|
committer | D G Turner | 2019-10-20 15:39:58 +0100 |
commit | 28a7ebc48db3394d5bd2c0f9a6fa93c5a6d60fca (patch) | |
tree | 660a5f52e324e2316a522d702ea6f96e8bb4dde4 /engines/sword1/logic.cpp | |
parent | 71346d15eb3b9c874f09f19b72f4e60542b50c56 (diff) | |
download | scummvm-rg350-28a7ebc48db3394d5bd2c0f9a6fa93c5a6d60fca.tar.gz scummvm-rg350-28a7ebc48db3394d5bd2c0f9a6fa93c5a6d60fca.tar.bz2 scummvm-rg350-28a7ebc48db3394d5bd2c0f9a6fa93c5a6d60fca.zip |
SWORD1: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/sword1/logic.cpp')
-rw-r--r-- | engines/sword1/logic.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sword1/logic.cpp b/engines/sword1/logic.cpp index 1b70e8c9d8..a4c6cf675c 100644 --- a/engines/sword1/logic.cpp +++ b/engines/sword1/logic.cpp @@ -148,6 +148,8 @@ void Logic::engine() { case LOGIC_AR_animate: _eventMan->checkForEvent(compact); break; + default: + break; } } debug(7, "Logic::engine: handling compact %d (%X)", currentId, currentId); |