mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
COMMON: Fix Missing Default Switch Case in Coroutine Macros
These are flagged by GCC if -Wswitch-default is enabled.
This commit is contained in:
parent
3f7a07abc1
commit
dca112f94b
@ -149,7 +149,7 @@ public:
|
|||||||
if (!x) { coroParam = x = new CoroContextTag(); } \
|
if (!x) { coroParam = x = new CoroContextTag(); } \
|
||||||
x->DUMMY = 0; \
|
x->DUMMY = 0; \
|
||||||
Common::CoroContextHolder tmpHolder(coroParam); \
|
Common::CoroContextHolder tmpHolder(coroParam); \
|
||||||
switch (coroParam->_line) { case 0:;
|
switch (coroParam->_line) { default: break; case 0:;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* End the code section of a coroutine.
|
* End the code section of a coroutine.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user