diff options
author | Filippos Karapetis | 2008-12-14 12:59:23 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-12-14 12:59:23 +0000 |
commit | 55972d7624b11499736a5d69a655f1c4b4070efc (patch) | |
tree | 3ad622fe6d93ae448137aedb9c4ae495b648d14e /engines | |
parent | dc3e9027f43c8423ce280e4d59b6a027897d504a (diff) | |
download | scummvm-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.cpp | 2 |
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(); |