aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ui/ui_button.cpp
diff options
context:
space:
mode:
authorD G Turner2019-11-14 23:28:07 +0000
committerD G Turner2019-11-14 23:28:07 +0000
commitd7a22f72a1eed84441ffaf1204b5b46a6f41a58b (patch)
tree958e00a757f26de21cbacd4e0cb98bcb750c0e0d /engines/wintermute/ui/ui_button.cpp
parentc7a5b152184af66d50c533319f2a3795ba7a46a7 (diff)
downloadscummvm-rg350-d7a22f72a1eed84441ffaf1204b5b46a6f41a58b.tar.gz
scummvm-rg350-d7a22f72a1eed84441ffaf1204b5b46a6f41a58b.tar.bz2
scummvm-rg350-d7a22f72a1eed84441ffaf1204b5b46a6f41a58b.zip
WINTERMUTE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'engines/wintermute/ui/ui_button.cpp')
-rw-r--r--engines/wintermute/ui/ui_button.cpp3
1 files changed, 3 insertions, 0 deletions
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) {