From 55972d7624b11499736a5d69a655f1c4b4070efc Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 14 Dec 2008 12:59:23 +0000 Subject: [PATCH] Silenced MSVC warning about variable "flags" being potentially uninitialized inside setCollisions() svn-id: r35359 --- engines/gob/game_v6.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/gob/game_v6.cpp b/engines/gob/game_v6.cpp index d8c921107fc..22864007cf1 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();