From f1e564c92ce50500d5fd0c4e8d54dfb92a400830 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Mon, 14 Oct 2019 04:00:45 +0100 Subject: GUI: Add Missing Switch Default Cases in About Dialog Easter Egg These are flagged by GCC if -Wswitch-default is enabled. --- gui/about.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- cgit v1.2.3