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
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue