From 9e04ca3633d898972f87c06c50195593ded4bf0a Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 9 Dec 2009 23:05:36 +0000 Subject: Silence gcc warning. svn-id: r46326 --- engines/draci/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp index d76369e638..592863b12b 100644 --- a/engines/draci/game.cpp +++ b/engines/draci/game.cpp @@ -1453,7 +1453,7 @@ void Game::DoSync(Common::Serializer &s) { int itemID = _inventory[i] ? _inventory[i]->_absNum : -1; s.syncAsSint16LE(itemID); } else { - int itemID; + int itemID = -1; s.syncAsSint16LE(itemID); _inventory[i] = getItem(itemID); } -- cgit v1.2.3