diff options
author | Eugene Sandulenko | 2013-09-21 09:48:11 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-21 09:49:17 +0300 |
commit | 91bcfb290a1525c0f512a998c5ad82244125cc5f (patch) | |
tree | c78e8eea03a4abfbe70d032efec0672c7403a389 /common | |
parent | ba56896f349c06c8425b0f2ee7059b9281bdac0c (diff) | |
download | scummvm-rg350-91bcfb290a1525c0f512a998c5ad82244125cc5f.tar.gz scummvm-rg350-91bcfb290a1525c0f512a998c5ad82244125cc5f.tar.bz2 scummvm-rg350-91bcfb290a1525c0f512a998c5ad82244125cc5f.zip |
COMMON: Use unused variables in coroutine macros.
This should fix couple of hundreds of Coverity detected defects.
Diffstat (limited to 'common')
-rw-r--r-- | common/coroutines.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/coroutines.h b/common/coroutines.h index 834c67f6e4..409a8977bd 100644 --- a/common/coroutines.h +++ b/common/coroutines.h @@ -146,6 +146,7 @@ public: #define CORO_BEGIN_CODE(x) \ if (&coroParam == &Common::nullContext) assert(!Common::nullContext); \ if (!x) { coroParam = x = new CoroContextTag(); } \ + x->DUMMY = 0; \ Common::CoroContextHolder tmpHolder(coroParam); \ switch (coroParam->_line) { case 0:; |