aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorD G Turner2019-10-21 00:17:58 +0100
committerD G Turner2019-10-21 00:19:41 +0100
commitdca112f94b188f797f42eababb39aef9bb891832 (patch)
treedc84752eabfcc2ad59c6a0643a115db6095cdae1 /common
parent3f7a07abc18238704dfae893d2859d6ed6b33e41 (diff)
downloadscummvm-rg350-dca112f94b188f797f42eababb39aef9bb891832.tar.gz
scummvm-rg350-dca112f94b188f797f42eababb39aef9bb891832.tar.bz2
scummvm-rg350-dca112f94b188f797f42eababb39aef9bb891832.zip
COMMON: Fix Missing Default Switch Case in Coroutine Macros
These are flagged by GCC if -Wswitch-default is enabled.
Diffstat (limited to 'common')
-rw-r--r--common/coroutines.h2
1 files changed, 1 insertions, 1 deletions
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.