diff options
author | msofer <msofer@noemail.net> | 2010-08-02 11:08:27 (GMT) |
---|---|---|
committer | msofer <msofer@noemail.net> | 2010-08-02 11:08:27 (GMT) |
commit | f29e8b93edeb9317e7dde912cc07a4aac4724507 (patch) | |
tree | b053af8a0d773fea3f5173f61f301fa750c8a6fb /generic/tclVar.c | |
parent | ab646ccb329bcd7203124703fd1019cc7f30bbc2 (diff) | |
download | tcl-f29e8b93edeb9317e7dde912cc07a4aac4724507.zip tcl-f29e8b93edeb9317e7dde912cc07a4aac4724507.tar.gz tcl-f29e8b93edeb9317e7dde912cc07a4aac4724507.tar.bz2 |
* generic/tclVar.c: correcting bad port of [Bug 3037525] fix
FossilOrigin-Name: 380bec0d42a860e0eb71d2afbf695d1c0f1f1e72
Diffstat (limited to 'generic/tclVar.c')
-rw-r--r-- | generic/tclVar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclVar.c b/generic/tclVar.c index 7587eec..e3a5a32 100644 --- a/generic/tclVar.c +++ b/generic/tclVar.c @@ -16,7 +16,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclVar.c,v 1.200 2010/07/31 20:28:04 msofer Exp $ + * RCS: @(#) $Id: tclVar.c,v 1.201 2010/08/02 11:08:28 msofer Exp $ */ #include "tclInt.h" @@ -5329,7 +5329,7 @@ TclDeleteVars( } for (varPtr = VarHashFirstVar(tablePtr, &search); varPtr != NULL; - varPtr = VarHashNextVar(&search)) { + varPtr = VarHashFirstVar(tablePtr, &search)) { UnsetVarStruct(varPtr, NULL, iPtr, VarHashGetKey(varPtr), NULL, flags, -1); VarHashDeleteEntry(varPtr); |