aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2008-12-14 12:59:23 +0000
committerFilippos Karapetis2008-12-14 12:59:23 +0000
commit55972d7624b11499736a5d69a655f1c4b4070efc (patch)
tree3ad622fe6d93ae448137aedb9c4ae495b648d14e /engines
parentdc3e9027f43c8423ce280e4d59b6a027897d504a (diff)
downloadscummvm-rg350-55972d7624b11499736a5d69a655f1c4b4070efc.tar.gz
scummvm-rg350-55972d7624b11499736a5d69a655f1c4b4070efc.tar.bz2
scummvm-rg350-55972d7624b11499736a5d69a655f1c4b4070efc.zip
Silenced MSVC warning about variable "flags" being potentially uninitialized inside setCollisions()
svn-id: r35359
Diffstat (limited to 'engines')
-rw-r--r--engines/gob/game_v6.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/game_v6.cpp b/engines/gob/game_v6.cpp
index d8c921107f..22864007cf 100644
--- a/engines/gob/game_v6.cpp
+++ b/engines/gob/game_v6.cpp
@@ -311,7 +311,7 @@ void Game_v6::setCollisions(byte arg_0) {
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();