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/draw_v2.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/draw_v2.cpp')
-rw-r--r-- | engines/gob/draw_v2.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/gob/draw_v2.cpp b/engines/gob/draw_v2.cpp index 8d487f815a..bac5e19957 100644 --- a/engines/gob/draw_v2.cpp +++ b/engines/gob/draw_v2.cpp @@ -329,6 +329,8 @@ void Draw_v2::printTotText(int16 id) { _backColor = cmd & 0xF; spriteOperation(DRAW_FILLRECTABS); break; + default: + break; } } ptr += 2; @@ -916,6 +918,9 @@ void Draw_v2::spriteOperation(int16 operation) { dirtiedRect(_destSurface, _destSpriteX, _destSpriteY, _spriteRight, _spriteBottom); break; + + default: + break; } _spriteLeft = spriteLeft; |