diff options
author | D G Turner | 2019-10-16 22:53:54 +0100 |
---|---|---|
committer | D G Turner | 2019-10-16 22:53:54 +0100 |
commit | 32a6f0b376dd98abd59ae8e9c61bce50f58ffa1a (patch) | |
tree | a5a7c5a3584a6ff58fe7c4a89e2c1f8db8ae1ab8 /engines/cge2/vga13h.cpp | |
parent | ca800c3c6233ae0a43cf09eb8f4b57737dd0c934 (diff) | |
download | scummvm-rg350-32a6f0b376dd98abd59ae8e9c61bce50f58ffa1a.tar.gz scummvm-rg350-32a6f0b376dd98abd59ae8e9c61bce50f58ffa1a.tar.bz2 scummvm-rg350-32a6f0b376dd98abd59ae8e9c61bce50f58ffa1a.zip |
CGE2: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/cge2/vga13h.cpp')
-rw-r--r-- | engines/cge2/vga13h.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/cge2/vga13h.cpp b/engines/cge2/vga13h.cpp index 8b8acb6ade..fab61b31f4 100644 --- a/engines/cge2/vga13h.cpp +++ b/engines/cge2/vga13h.cpp @@ -406,6 +406,8 @@ Sprite *Sprite::expand() { case 0xFE: s->_next = seqcnt - 1; break; + default: + break; } if (s->_next > maxnxt) maxnxt = s->_next; @@ -1149,6 +1151,7 @@ void Bitmap::show(V2D pos) { while (count-- > 0) { // Transfer operation switch (cmd) { + default: case 1: // SKIP break; |