aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorD G Turner2019-10-14 04:00:45 +0100
committerD G Turner2019-10-14 04:00:45 +0100
commitf1e564c92ce50500d5fd0c4e8d54dfb92a400830 (patch)
tree5fbf82786f22d1d105280a71557a0bedc738a13b /gui
parent95c0afa2c3f9b02e4b593f82e4d5a943aed91b16 (diff)
downloadscummvm-rg350-f1e564c92ce50500d5fd0c4e8d54dfb92a400830.tar.gz
scummvm-rg350-f1e564c92ce50500d5fd0c4e8d54dfb92a400830.tar.bz2
scummvm-rg350-f1e564c92ce50500d5fd0c4e8d54dfb92a400830.zip
GUI: Add Missing Switch Default Cases in About Dialog Easter Egg
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'gui')
-rw-r--r--gui/about.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/about.cpp b/gui/about.cpp
index e76851910f..11c240bea0 100644
--- a/gui/about.cpp
+++ b/gui/about.cpp
@@ -918,6 +918,8 @@ void EE::computer0() {
dest = 1;
}
break;
+ default:
+ break;
}
_keymove[0][kDirUp] = dest;
} else if (_bvely > 0 && _tbx < 140) {
@@ -1003,6 +1005,8 @@ void EE::computer1() {
dest = 1;
}
break;
+ default:
+ break;
}
_keymove[1][kDirUp] = dest;
} else if (_bvely > 0 && _tbx > 125) {