diff options
author | Torbjörn Andersson | 2017-08-06 12:26:05 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2017-08-06 12:26:05 +0200 |
commit | 462f1c98597589a3baf241ab2c1bb4dba991374e (patch) | |
tree | 094b7334aeba672f80547cd6689c6c49e501d94c /engines/cge | |
parent | 4fb0d1e56f83ac7d5edd06b6d5a2e8019bbddf37 (diff) | |
download | scummvm-rg350-462f1c98597589a3baf241ab2c1bb4dba991374e.tar.gz scummvm-rg350-462f1c98597589a3baf241ab2c1bb4dba991374e.tar.bz2 scummvm-rg350-462f1c98597589a3baf241ab2c1bb4dba991374e.zip |
JANITORIAL: Silence more GCC 7 warnings
There were all flagged as intentional fall throughs. I simply changed
the comments to something GCC would recognize.
Diffstat (limited to 'engines/cge')
-rw-r--r-- | engines/cge/bitmap.cpp | 2 | ||||
-rw-r--r-- | engines/cge/events.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/cge/bitmap.cpp b/engines/cge/bitmap.cpp index 536db5e73b..76ba48dd6e 100644 --- a/engines/cge/bitmap.cpp +++ b/engines/cge/bitmap.cpp @@ -293,7 +293,7 @@ bool Bitmap::solidAt(int16 x, int16 y) { switch (t) { case kBmpEOI: r--; - // No break on purpose + // fall through case kBmpSKP: w = 0; break; diff --git a/engines/cge/events.cpp b/engines/cge/events.cpp index 5d3d0a16a0..d7c065ef6a 100644 --- a/engines/cge/events.cpp +++ b/engines/cge/events.cpp @@ -111,7 +111,7 @@ bool Keyboard::getKey(Common::Event &event) { _vm->_commandHandler->addCommand(kCmdLevel, -1, keycode - Common::KEYCODE_0, NULL); return false; } - // Fallthrough intended + // fall through case Common::KEYCODE_5: case Common::KEYCODE_6: case Common::KEYCODE_7: |