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/minigames | |
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/minigames')
-rw-r--r-- | engines/gob/minigames/geisha/evilfish.cpp | 1 | ||||
-rw-r--r-- | engines/gob/minigames/geisha/penetration.cpp | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/engines/gob/minigames/geisha/evilfish.cpp b/engines/gob/minigames/geisha/evilfish.cpp index cd47e689b1..7b3a4c9787 100644 --- a/engines/gob/minigames/geisha/evilfish.cpp +++ b/engines/gob/minigames/geisha/evilfish.cpp @@ -92,6 +92,7 @@ void EvilFish::advance() { switch (_state) { case kStateNone: + default: break; case kStateSwimLeft: diff --git a/engines/gob/minigames/geisha/penetration.cpp b/engines/gob/minigames/geisha/penetration.cpp index 0ebcd2c55b..a69d998ffd 100644 --- a/engines/gob/minigames/geisha/penetration.cpp +++ b/engines/gob/minigames/geisha/penetration.cpp @@ -715,6 +715,9 @@ void Penetration::createMap() { _sub->sub = new Submarine(*_objects); _sub->sub->setPosition(kPlayAreaX + kPlayAreaBorderWidth, kPlayAreaY + kPlayAreaBorderHeight); break; + + default: + break; } } } |