From a997ac72f1e0bdef68f925f4d57bf49affffae91 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Wed, 27 Nov 2019 01:16:26 +0000 Subject: PINK: Fix Missing Default Switch Cases These are flagged by GCC if -Wswitch-default is enabled. --- engines/pink/objects/actions/action_loop.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/pink/objects/actions/action_loop.cpp') diff --git a/engines/pink/objects/actions/action_loop.cpp b/engines/pink/objects/actions/action_loop.cpp index c8ef5da9d9..6e9b70691a 100644 --- a/engines/pink/objects/actions/action_loop.cpp +++ b/engines/pink/objects/actions/action_loop.cpp @@ -44,6 +44,7 @@ void ActionLoop::deserialize(Archive &archive) { break; default: _style = kForward; + break; } } @@ -95,6 +96,8 @@ void ActionLoop::update() { } decodeNext(); break; + default: + break; } } -- cgit v1.2.3