[Scummvm-cvs-logs] SF.net SVN: scummvm:[35359] scummvm/trunk/engines/gob/game_v6.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun Dec 14 13:59:23 CET 2008
Revision: 35359
http://scummvm.svn.sourceforge.net/scummvm/?rev=35359&view=rev
Author: thebluegr
Date: 2008-12-14 12:59:23 +0000 (Sun, 14 Dec 2008)
Log Message:
-----------
Silenced MSVC warning about variable "flags" being potentially uninitialized inside setCollisions()
Modified Paths:
--------------
scummvm/trunk/engines/gob/game_v6.cpp
Modified: scummvm/trunk/engines/gob/game_v6.cpp
===================================================================
--- scummvm/trunk/engines/gob/game_v6.cpp 2008-12-14 10:32:26 UTC (rev 35358)
+++ scummvm/trunk/engines/gob/game_v6.cpp 2008-12-14 12:59:23 UTC (rev 35359)
@@ -311,7 +311,7 @@
int16 top = _vm->_parse->parseValExpr();
int16 width = _vm->_parse->parseValExpr();
int16 height = _vm->_parse->parseValExpr();
- uint16 flags;
+ uint16 flags = 0;
if ((collArea->id & 0xF000) == 0xA000)
flags = _vm->_parse->parseValExpr();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list