diff options
author | dkf <dkf@noemail.net> | 2007-11-18 22:00:56 (GMT) |
---|---|---|
committer | dkf <dkf@noemail.net> | 2007-11-18 22:00:56 (GMT) |
commit | a0af3a4c092f513cad30843eadb9af9531795327 (patch) | |
tree | 516cef05fc4d9521596c6e6e1b007850d985ba7e /generic/tclThreadStorage.c | |
parent | fabf40f617de7f596ffcb075a571751df3a7b964 (diff) | |
download | tcl-a0af3a4c092f513cad30843eadb9af9531795327.zip tcl-a0af3a4c092f513cad30843eadb9af9531795327.tar.gz tcl-a0af3a4c092f513cad30843eadb9af9531795327.tar.bz2 |
Avoid using 'new' as an identifier.
FossilOrigin-Name: a2416568dbb0b24f833a4783d13bcea0d70bdf92
Diffstat (limited to 'generic/tclThreadStorage.c')
-rw-r--r-- | generic/tclThreadStorage.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclThreadStorage.c b/generic/tclThreadStorage.c index 70a0c11..36ce257 100644 --- a/generic/tclThreadStorage.c +++ b/generic/tclThreadStorage.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclThreadStorage.c,v 1.13 2007/07/31 17:03:39 msofer Exp $ + * RCS: @(#) $Id: tclThreadStorage.c,v 1.14 2007/11/18 22:00:57 dkf Exp $ */ #include "tclInt.h" @@ -192,7 +192,7 @@ ThreadStorageGetHashTable( { int index = PTR2UINT(id) % STORAGE_CACHE_SLOTS; Tcl_HashEntry *hPtr; - int new; + int isNew; /* * It's important that we pick up the hash table pointer BEFORE comparing @@ -241,7 +241,7 @@ ThreadStorageGetHashTable( */ hPtr = Tcl_CreateHashEntry(&threadStorageHashTable, (char *) id, - &new); + &isNew); if (hPtr == NULL) { Tcl_Panic("Tcl_CreateHashEntry failed from " |