diff options
author | D G Turner | 2019-12-11 03:09:35 +0000 |
---|---|---|
committer | D G Turner | 2019-12-11 03:09:35 +0000 |
commit | 2e91bf0eeabc539c21c205982efd06a52450ab63 (patch) | |
tree | db3c91e372e888a2879d106e39d571987b4d7ede /engines/glk/window_text_buffer.cpp | |
parent | 365e9af4f007e9b7a041f2c34f3e883091b7c62c (diff) | |
download | scummvm-rg350-2e91bf0eeabc539c21c205982efd06a52450ab63.tar.gz scummvm-rg350-2e91bf0eeabc539c21c205982efd06a52450ab63.tar.bz2 scummvm-rg350-2e91bf0eeabc539c21c205982efd06a52450ab63.zip |
GLK: Fix Missing Default Switch Cases in Engine Base Code
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/glk/window_text_buffer.cpp')
-rw-r--r-- | engines/glk/window_text_buffer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/glk/window_text_buffer.cpp b/engines/glk/window_text_buffer.cpp index 6c312be607..6a8bb95195 100644 --- a/engines/glk/window_text_buffer.cpp +++ b/engines/glk/window_text_buffer.cpp @@ -1204,6 +1204,8 @@ int TextBufferWindow::acceptScroll(uint arg) { else _scrollPos = 0; break; + default: + break; } if (_scrollPos > _scrollMax - _height + 1) |