[Scummvm-cvs-logs] scummvm master -> c55411a032382bebf5b4428be17136a3f3dea0a2

sev- sev at scummvm.org
Sat Sep 21 21:46:08 CEST 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c55411a032 COMMON: Shut more Coverity warnings in coroutines.


Commit: c55411a032382bebf5b4428be17136a3f3dea0a2
    https://github.com/scummvm/scummvm/commit/c55411a032382bebf5b4428be17136a3f3dea0a2
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2013-09-21T12:45:43-07:00

Commit Message:
COMMON: Shut more Coverity warnings in coroutines.

Changed paths:
    common/coroutines.h



diff --git a/common/coroutines.h b/common/coroutines.h
index 409a897..30b9bb6 100644
--- a/common/coroutines.h
+++ b/common/coroutines.h
@@ -128,7 +128,7 @@ public:
  */
 #define CORO_BEGIN_CONTEXT  \
 	struct CoroContextTag : Common::CoroBaseContext { \
-		CoroContextTag() : CoroBaseContext(SCUMMVM_CURRENT_FUNCTION) {} \
+ CoroContextTag() : CoroBaseContext(SCUMMVM_CURRENT_FUNCTION) { DUMMY = 0; } \
 		int DUMMY
 
 /**






More information about the Scummvm-git-logs mailing list