From 1072fca204c17fbd15cd6fbfc388ba300c0dcd03 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Mon, 2 Dec 2019 00:16:10 +0000 Subject: MOHAWK: Fix Missing Default Switch Cases These are flagged by GCC if -Wswitch-default is enabled. --- engines/mohawk/cstime_ui.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engines/mohawk/cstime_ui.cpp') diff --git a/engines/mohawk/cstime_ui.cpp b/engines/mohawk/cstime_ui.cpp index 59be95adf6..c4bbc7e2af 100644 --- a/engines/mohawk/cstime_ui.cpp +++ b/engines/mohawk/cstime_ui.cpp @@ -265,6 +265,8 @@ void CSTimeInterface::mouseDown(Common::Point pos) { case 13: cursorChangeShape(14); break; + default: + break; } if (_book->getState() == 2) { @@ -442,6 +444,8 @@ void CSTimeInterface::mouseUp(Common::Point pos) { case 14: cursorChangeShape(13); break; + default: + break; } if (_vm->getCase()->getCurrScene()->eventIsActive()) { -- cgit v1.2.3