From 799a088b6edb7772c01d60ebc3e6160bb26ce8fc Mon Sep 17 00:00:00 2001 From: D G Turner Date: Thu, 12 Dec 2019 17:31:01 +0000 Subject: GOB: Fix Missing Default Switch Cases These are flagged by GCC if -Wswitch-default is enabled. --- engines/gob/draw.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/gob/draw.cpp') diff --git a/engines/gob/draw.cpp b/engines/gob/draw.cpp index 3ee6d64bec..88076764de 100644 --- a/engines/gob/draw.cpp +++ b/engines/gob/draw.cpp @@ -381,6 +381,9 @@ void Draw::adjustCoords(char adjust, int16 *coord1, int16 *coord2) { if (coord1) *coord1 = *coord1 * 2 + 1; break; + + default: + break; } } -- cgit v1.2.3