COMMON: Fix Missing Default Switch Case in Coroutine Macros

These are flagged by GCC if -Wswitch-default is enabled.
This commit is contained in:
D G Turner 2019-10-21 00:17:58 +01:00
parent 3f7a07abc1
commit dca112f94b

View File

@ -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.