aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-12-09 23:05:36 +0000
committerJohannes Schickel2009-12-09 23:05:36 +0000
commit9e04ca3633d898972f87c06c50195593ded4bf0a (patch)
treeb2f4892a70a308f072e4ccfc03bb20c403cdc006
parentdce1d4aa4b319a934e94e45c3a264c75207a6577 (diff)
downloadscummvm-rg350-9e04ca3633d898972f87c06c50195593ded4bf0a.tar.gz
scummvm-rg350-9e04ca3633d898972f87c06c50195593ded4bf0a.tar.bz2
scummvm-rg350-9e04ca3633d898972f87c06c50195593ded4bf0a.zip
Silence gcc warning.
svn-id: r46326
-rw-r--r--engines/draci/game.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}