From d7a22f72a1eed84441ffaf1204b5b46a6f41a58b Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 14 Nov 2019 23:28:07 +0000 Subject: WINTERMUTE: Fix Missing Default Switch Cases These are flagged by GCC if -Wswitch-default is enabled. --- engines/wintermute/ui/ui_button.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/wintermute/ui/ui_button.cpp') diff --git a/engines/wintermute/ui/ui_button.cpp b/engines/wintermute/ui/ui_button.cpp index 12ecfe152d..2e41e1432e 100644 --- a/engines/wintermute/ui/ui_button.cpp +++ b/engines/wintermute/ui/ui_button.cpp @@ -456,6 +456,9 @@ bool UIButton::loadBuffer(char *buffer, bool complete) { case TOKEN_EDITOR_PROPERTY: parseEditorProperty(params, false); break; + + default: + break; } } if (cmd == PARSERR_TOKENNOTFOUND) { -- cgit v1.2.3