diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2012-03-26 13:11:58 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2012-03-26 13:11:58 (GMT) |
commit | 543416450d89c9fdc7df13eea26715813d861a91 (patch) | |
tree | 1ec7e6b5fe1c76efc9090e4dee8f0f6a8b82bc58 /generic | |
parent | d23835257d7cdbf7c914e23117f34386a03420f4 (diff) | |
download | tcl-543416450d89c9fdc7df13eea26715813d861a91.zip tcl-543416450d89c9fdc7df13eea26715813d861a91.tar.gz tcl-543416450d89c9fdc7df13eea26715813d861a91.tar.bz2 |
Fix uninit variable (thanks to dgp for reporting)
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclOOCall.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |