From ac7651b273568eff89a6bcb7488c8801164dd13c Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 5 Oct 2006 19:11:09 +0000 Subject: Silenced warning of msvc8. svn-id: r24127 --- engines/agos/contain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v1.2.3