aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise
diff options
context:
space:
mode:
authorTorbjörn Andersson2017-08-06 12:26:05 +0200
committerTorbjörn Andersson2017-08-06 12:26:05 +0200
commit462f1c98597589a3baf241ab2c1bb4dba991374e (patch)
tree094b7334aeba672f80547cd6689c6c49e501d94c /engines/cruise
parent4fb0d1e56f83ac7d5edd06b6d5a2e8019bbddf37 (diff)
downloadscummvm-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/cruise')
-rw-r--r--engines/cruise/script.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/cruise/script.cpp b/engines/cruise/script.cpp
index 1f308714f7..aee3e8b846 100644
--- a/engines/cruise/script.cpp
+++ b/engines/cruise/script.cpp
@@ -57,7 +57,7 @@ int32 opcodeType0() {
case 5:
index = saveOpcodeVar;
- // No break on purpose
+ // fall through
case 1: {
uint8 *address = 0;
int type = getByteFromScript();
@@ -137,7 +137,7 @@ int32 opcodeType1() {
case 5:
offset = saveOpcodeVar;
- //no break on purpose
+ // fall through
case 1: {
int var_A = 0;
@@ -227,7 +227,7 @@ int32 opcodeType2() {
switch (currentScriptOpcodeType) {
case 5:
index = saveOpcodeVar;
- // No break on purpose
+ // fall through
case 1: {
uint8* adresse = NULL;
int type = getByteFromScript();