aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2006-10-05 19:11:09 +0000
committerJohannes Schickel2006-10-05 19:11:09 +0000
commitac7651b273568eff89a6bcb7488c8801164dd13c (patch)
tree88f4d336c68f0233cc0c042263b99e5d42ae6e10
parent0ea2ed4b1dcf9737f94c8c319c7bcca68d795230 (diff)
downloadscummvm-rg350-ac7651b273568eff89a6bcb7488c8801164dd13c.tar.gz
scummvm-rg350-ac7651b273568eff89a6bcb7488c8801164dd13c.tar.bz2
scummvm-rg350-ac7651b273568eff89a6bcb7488c8801164dd13c.zip
Silenced warning of msvc8.
svn-id: r24127
-rw-r--r--engines/agos/contain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/contain.cpp b/engines/agos/contain.cpp
index 4f692b58f8..b7950f7034 100644
--- a/engines/agos/contain.cpp
+++ b/engines/agos/contain.cpp
@@ -32,7 +32,7 @@ int AGOSEngine::canPlace(Item *x, Item *y) {
Item *z = derefItem(x->parent);
SubObject *o = (SubObject *)findChildOfType(y, 2);
int ct;
- int cap;
+ int cap = 0;
if (o == NULL)
return(0); /* Fits Fine */