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/game/scenes.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'engines/lastexpress/game') diff --git a/engines/lastexpress/game/scenes.cpp b/engines/lastexpress/game/scenes.cpp index 0d8f51af6e..367573733f 100644 --- a/engines/lastexpress/game/scenes.cpp +++ b/engines/lastexpress/game/scenes.cpp @@ -344,43 +344,43 @@ LastExpress::SceneIndex SceneManager::processIndex(SceneIndex index) { case 51: if (!getEntities()->getPosition(car, 39)) return getSceneIndexFromPosition(car, 39); - // Fallback to next case + // fall through case 42: case 52: if (!getEntities()->getPosition(car, 14)) return getSceneIndexFromPosition(car, 14); - // Fallback to next case + // fall through case 43: case 53: if (!getEntities()->getPosition(car, 35)) return getSceneIndexFromPosition(car, 35); - // Fallback to next case + // fall through case 44: case 54: if (!getEntities()->getPosition(car, 10)) return getSceneIndexFromPosition(car, 10); - // Fallback to next case + // fall through case 45: case 55: if (!getEntities()->getPosition(car, 32)) return getSceneIndexFromPosition(car, 32); - // Fallback to next case + // fall through case 46: case 56: if (!getEntities()->getPosition(car, 7)) return getSceneIndexFromPosition(car, 7); - // Fallback to next case + // fall through case 47: case 57: if (!getEntities()->getPosition(car, 27)) return getSceneIndexFromPosition(car, 27); - // Fallback to next case + // fall through case 48: case 58: @@ -401,7 +401,7 @@ LastExpress::SceneIndex SceneManager::processIndex(SceneIndex index) { case 54: if (!getEntities()->getPosition(car, 51)) return getSceneIndexFromPosition(car, 51); - // Fallback to next case + // fall through case 50: case 56: @@ -409,31 +409,31 @@ LastExpress::SceneIndex SceneManager::processIndex(SceneIndex index) { case 58: if (!getEntities()->getPosition(car, 55)) return getSceneIndexFromPosition(car, 55); - // Fallback to next case + // fall through case 59: if (!getEntities()->getPosition(car, 60)) return getSceneIndexFromPosition(car, 60); - // Fallback to next case + // fall through case 60: if (!getEntities()->getPosition(car, 59)) return getSceneIndexFromPosition(car, 59); - // Fallback to next case + // fall through case 62: case 63: case 64: if (!getEntities()->getPosition(car, 61)) return getSceneIndexFromPosition(car, 61); - // Fallback to next case + // fall through case 66: case 67: case 68: if (!getEntities()->getPosition(car, 65)) return getSceneIndexFromPosition(car, 65); - // Fallback to next case + // fall through case 69: case 71: -- cgit v1.2.3