diff options
author | dgp <dgp@users.sourceforge.net> | 2011-04-20 12:54:34 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2011-04-20 12:54:34 (GMT) |
commit | 1215eff55ae56543bc36a833446143f4e573651f (patch) | |
tree | 37305091bf054f0f854304b0b95e69dc1a87d9fe /generic/tclHash.c | |
parent | efbec2bcd5b1b7497b720d9e626737cdbc370548 (diff) | |
download | tcl-1215eff55ae56543bc36a833446143f4e573651f.zip tcl-1215eff55ae56543bc36a833446143f4e573651f.tar.gz tcl-1215eff55ae56543bc36a833446143f4e573651f.tar.bz2 |
Silence unused variable warning
Diffstat (limited to 'generic/tclHash.c')
-rw-r--r-- | generic/tclHash.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generic/tclHash.c b/generic/tclHash.c index b5baf22..e7ee344 100644 --- a/generic/tclHash.c +++ b/generic/tclHash.c @@ -1147,7 +1147,6 @@ RebuildTable(tablePtr) register Tcl_HashEntry **oldChainPtr, **newChainPtr; register Tcl_HashEntry *hPtr; Tcl_HashKeyType *typePtr; - VOID *key; oldSize = tablePtr->numBuckets; oldBuckets = tablePtr->buckets; @@ -1201,7 +1200,7 @@ RebuildTable(tablePtr) hPtr->nextPtr = tablePtr->buckets[index]; tablePtr->buckets[index] = hPtr; #else - key = (VOID *) Tcl_GetHashKey (tablePtr, hPtr); + VOID *key = (VOID *) Tcl_GetHashKey (tablePtr, hPtr); if (typePtr->hashKeyProc) { unsigned int hash; hash = typePtr->hashKeyProc (tablePtr, (VOID *) key); |