From 008e2b85b612f3bd4c953201fba33e000451fb2c Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 24 Oct 2019 02:04:53 +0100 Subject: ZVISION: Fix Missing Default Switch Cases These are flagged by GCC if -Wswitch-default is enabled. --- engines/zvision/scripting/controls/lever_control.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines/zvision/scripting/controls') diff --git a/engines/zvision/scripting/controls/lever_control.cpp b/engines/zvision/scripting/controls/lever_control.cpp index 553b5ec8c2..fb88f2fe02 100644 --- a/engines/zvision/scripting/controls/lever_control.cpp +++ b/engines/zvision/scripting/controls/lever_control.cpp @@ -360,6 +360,8 @@ int LeverControl::calculateVectorAngle(const Common::Point &pointOne, const Comm case 3: angle = 180 + angle; break; + default: + break; } return angle; -- cgit v1.2.3