diff options
author | D G Turner | 2019-12-12 17:31:01 +0000 |
---|---|---|
committer | D G Turner | 2019-12-12 17:31:01 +0000 |
commit | 799a088b6edb7772c01d60ebc3e6160bb26ce8fc (patch) | |
tree | c3586556fd1efe38db42629427c718af16ca41d7 /engines/gob/hotspots.cpp | |
parent | f62dc99600da83128b7ee1c08bfb09ebc6539173 (diff) | |
download | scummvm-rg350-799a088b6edb7772c01d60ebc3e6160bb26ce8fc.tar.gz scummvm-rg350-799a088b6edb7772c01d60ebc3e6160bb26ce8fc.tar.bz2 scummvm-rg350-799a088b6edb7772c01d60ebc3e6160bb26ce8fc.zip |
GOB: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/gob/hotspots.cpp')
-rw-r--r-- | engines/gob/hotspots.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/gob/hotspots.cpp b/engines/gob/hotspots.cpp index 0b47f43774..b314484fdf 100644 --- a/engines/gob/hotspots.cpp +++ b/engines/gob/hotspots.cpp @@ -1228,6 +1228,9 @@ uint16 Hotspots::handleInputs(int16 time, uint16 inputCount, uint16 &curInput, if (curInput > 0) curInput--; break; + + default: + break; } } } @@ -1451,6 +1454,9 @@ void Hotspots::evaluateNew(uint16 i, uint16 *ids, InputDesc *inputs, flags = ((uint16) kTypeClick) + (windowNum << 8) + (flags << 4); break; + + default: + break; } // Add the new hotspot |