From dca112f94b188f797f42eababb39aef9bb891832 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Mon, 21 Oct 2019 00:17:58 +0100 Subject: COMMON: Fix Missing Default Switch Case in Coroutine Macros These are flagged by GCC if -Wswitch-default is enabled. --- common/coroutines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/coroutines.h b/common/coroutines.h index 5e3fb4cf0e..10e0bb28da 100644 --- a/common/coroutines.h +++ b/common/coroutines.h @@ -149,7 +149,7 @@ public: if (!x) { coroParam = x = new CoroContextTag(); } \ x->DUMMY = 0; \ Common::CoroContextHolder tmpHolder(coroParam); \ - switch (coroParam->_line) { case 0:; + switch (coroParam->_line) { default: break; case 0:; /** * End the code section of a coroutine. -- cgit v1.2.3