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/lastexpress/entities/anna.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'engines/lastexpress/entities/anna.cpp') diff --git a/engines/lastexpress/entities/anna.cpp b/engines/lastexpress/entities/anna.cpp index 3354964af2..52e975086a 100644 --- a/engines/lastexpress/entities/anna.cpp +++ b/engines/lastexpress/entities/anna.cpp @@ -385,7 +385,7 @@ IMPLEMENT_FUNCTION(12, Anna, practiceMusic) setup_playSound("MAX1120"); break; } - // Fallback to next case + // fall through case 4: --params->param1; @@ -452,7 +452,7 @@ IMPLEMENT_FUNCTION_IS(15, Anna, compartmentLogic, TimeValue) setup_playSound("LIB013"); break; } - // Fallback to next action + // fall through case kActionKnock: if (params->param5) { @@ -510,7 +510,7 @@ IMPLEMENT_FUNCTION_IS(15, Anna, compartmentLogic, TimeValue) setup_playSound("MAX1120"); break; } - // Fallback to next case + // fall through case 2: getObjects()->update(kObjectCompartmentF, kEntityAnna, kObjectLocation1, kCursorHandKnock, kCursorHand); @@ -1467,7 +1467,7 @@ label_callback_1: setup_playSound("MAX1120"); break; } - // Fallback to next case + // fall through case 4: getObjects()->update(kObjectCompartmentF, kEntityAnna, kObjectLocation1, kCursorHandKnock, kCursorHand); @@ -1857,7 +1857,7 @@ IMPLEMENT_FUNCTION(41, Anna, goBackToSleep) setup_playSound("MAX1120"); break; } - // Fallback to next case + // fall through case 3: getObjects()->update(kObjectCompartmentF, kEntityAnna, kObjectLocation1, kCursorHandKnock, kCursorHand); @@ -2431,7 +2431,7 @@ IMPLEMENT_FUNCTION(53, Anna, dressing) setup_playSound("LIB013"); break; } - // Fallback to next case + // fall through case kActionKnock: getObjects()->update(kObjectCompartmentF, kEntityAnna, kObjectLocation1, kCursorNormal, kCursorNormal); @@ -2495,7 +2495,7 @@ IMPLEMENT_FUNCTION(53, Anna, dressing) setup_playSound("MAX1120"); break; } - // Fallback to next case + // fall through case 2: getObjects()->update(kObjectCompartmentF, kEntityAnna, kObjectLocation1, kCursorHandKnock, kCursorHand); @@ -2579,7 +2579,7 @@ IMPLEMENT_FUNCTION(54, Anna, giveMaxToConductor2) setup_playSound("LIB013"); break; } - // Fallback to next case + // fall through case kActionKnock: getObjects()->update(kObjectCompartmentF, kEntityAnna, kObjectLocation1, kCursorNormal, kCursorNormal); @@ -2636,7 +2636,7 @@ IMPLEMENT_FUNCTION(54, Anna, giveMaxToConductor2) setup_playSound("MAX1120"); break; } - // Fallback to next case + // fall through case 2: getObjects()->update(kObjectCompartmentF, kEntityAnna, kObjectLocation1, kCursorHandKnock, kCursorHand); -- cgit v1.2.3