From 30c366ee5db4c27e9d0ef94fd5786af55b1b0147 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 3 Oct 2019 06:03:46 +0100 Subject: GUI: Add Missing Switch Default Cases These are flagged by GCC if -Wswitch-default is enabled. --- gui/unknown-game-dialog.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gui/unknown-game-dialog.cpp') diff --git a/gui/unknown-game-dialog.cpp b/gui/unknown-game-dialog.cpp index 0aa8cc5750..790f724948 100644 --- a/gui/unknown-game-dialog.cpp +++ b/gui/unknown-game-dialog.cpp @@ -232,6 +232,8 @@ void UnknownGameDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 for (uint i = 0; i < _textWidgets.size() ; i++) _textWidgets[i]->setVisible(true); break; + default: + break; } } -- cgit v1.2.3