From 70a2ca8b7d64e993fdab89c7b8b0d30ab4334824 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 6 Aug 2017 13:30:51 +0200 Subject: JANITORIAL: Silence more GCC 7 warnings All these fall through were marked as deliberate, so again I've only changed the comment to silence GCC. --- engines/kyra/gui_eob.cpp | 2 +- engines/kyra/sequences_lok.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'engines/kyra') diff --git a/engines/kyra/gui_eob.cpp b/engines/kyra/gui_eob.cpp index 9456e575db..968bca2be2 100644 --- a/engines/kyra/gui_eob.cpp +++ b/engines/kyra/gui_eob.cpp @@ -1286,7 +1286,7 @@ void EoBCoreEngine::gui_processWeaponSlotClickRight(int charIndex, int slotIndex case 10: if (_flags.gameID == GI_EOB1) vl += _clericSpellOffset; - // drop through + // fall through case 9: // Mage/Cleric Scroll if (!_currentControlMode) diff --git a/engines/kyra/sequences_lok.cpp b/engines/kyra/sequences_lok.cpp index 8a41ee9a21..58484c2fd9 100644 --- a/engines/kyra/sequences_lok.cpp +++ b/engines/kyra/sequences_lok.cpp @@ -1483,8 +1483,7 @@ int KyraEngine_LoK::handleMalcolmFlag() { _malcolmFrame = 0; _malcolmFlag = 2; _malcolmTimer2 = 0; - - // Fall through to the next case + // fall through case 2: if (_system->getMillis() >= _malcolmTimer2) { -- cgit v1.2.3