diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-12-13 12:03:51 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-12-13 12:03:51 (GMT) |
commit | 79a79bbca3ca3fa2e68030792b1daf221bd4907f (patch) | |
tree | 8ff73a68779156be1ab89b42823c7662ccc51060 /generic/tcl.h | |
parent | 17298e8dd0217a61629194c735959152f70c93c3 (diff) | |
download | tcl-79a79bbca3ca3fa2e68030792b1daf221bd4907f.zip tcl-79a79bbca3ca3fa2e68030792b1daf221bd4907f.tar.gz tcl-79a79bbca3ca3fa2e68030792b1daf221bd4907f.tar.bz2 |
Changelog entry, and change macro variable to not conflict with possible outside variable names
FossilOrigin-Name: b9e27d790e73a0c21c636548db07fc493d6a1863
Diffstat (limited to 'generic/tcl.h')
-rw-r--r-- | generic/tcl.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tcl.h b/generic/tcl.h index 48fe062..bf9b446 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -832,9 +832,9 @@ int Tcl_IsShared _ANSI_ARGS_((Tcl_Obj *objPtr)); */ # define Tcl_DecrRefCount(objPtr) \ do { \ - Tcl_Obj *obj = (objPtr); \ - if ((obj)->refCount-- < 2) { \ - TclFreeObj(obj); \ + Tcl_Obj *_objPtr = (objPtr); \ + if (_objPtr->refCount-- < 2) { \ + TclFreeObj(_objPtr); \ } \ } while(0) # define Tcl_IsShared(objPtr) \ |