From deb6dc53579338fafaf620180a931c289e9e1662 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 20 Oct 2019 21:15:43 +0100 Subject: PARALLACTION: Fix Missing Default Switch Cases These are flagged by GCC if -Wswitch-default is enabled. --- engines/parallaction/input.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/parallaction/input.cpp') diff --git a/engines/parallaction/input.cpp b/engines/parallaction/input.cpp index c62e7479d3..8636c4c309 100644 --- a/engines/parallaction/input.cpp +++ b/engines/parallaction/input.cpp @@ -245,6 +245,9 @@ int Input::updateInput() { case kInputModeInventory: updateInventoryInput(); break; + + default: + break; } // when mode changes, then consider any input consumed @@ -454,6 +457,9 @@ void Input::setMouseState(MouseTriState state) { case MOUSE_ENABLED_SHOW: CursorMan.showMouse(true); break; + + default: + break; } } -- cgit v1.2.3