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_v1.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_v1.cpp')
-rw-r--r-- | engines/gob/draw_v1.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/gob/draw_v1.cpp b/engines/gob/draw_v1.cpp index d17aad5cad..daf28fceaa 100644 --- a/engines/gob/draw_v1.cpp +++ b/engines/gob/draw_v1.cpp @@ -213,6 +213,8 @@ void Draw_v1::printTotText(int16 id) { _backColor = cmd & 0xF; spriteOperation(DRAW_FILLRECTABS); break; + default: + break; } } ptr += 2; @@ -485,6 +487,9 @@ void Draw_v1::spriteOperation(int16 operation) { _destSpriteX, _destSpriteY, (_transparency == 0) ? -1 : 0); break; + + default: + break; } if (_renderFlags & RENDERFLAG_USEDELTAS) { |