From 543416450d89c9fdc7df13eea26715813d861a91 Mon Sep 17 00:00:00 2001 From: dkf Date: Mon, 26 Mar 2012 13:11:58 +0000 Subject: Fix uninit variable (thanks to dgp for reporting) --- generic/tclOOCall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/tclOOCall.c b/generic/tclOOCall.c index 8b1aeb1..760bd7b 100644 --- a/generic/tclOOCall.c +++ b/generic/tclOOCall.c @@ -1005,7 +1005,7 @@ TclOOGetCallContext( &cb, NULL, 0, NULL); callPtr->flags |= OO_UNKNOWN_METHOD; callPtr->epoch = -1; - if (count == callPtr->numChain) { + if (callPtr->numChain == 0) { TclOODeleteChain(callPtr); return NULL; } -- cgit v0.12