diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-12-13 12:09:21 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-12-13 12:09:21 (GMT) |
commit | fc1f23bcb0e198bff00b3970da34de824e31ef7c (patch) | |
tree | bc481384d1bfa0258ec498009f7f2f9297e82f17 /generic/tcl.h | |
parent | 33bc3f551d75032142dc91b452f89a751f5c26e9 (diff) | |
parent | 79a79bbca3ca3fa2e68030792b1daf221bd4907f (diff) | |
download | tcl-fc1f23bcb0e198bff00b3970da34de824e31ef7c.zip tcl-fc1f23bcb0e198bff00b3970da34de824e31ef7c.tar.gz tcl-fc1f23bcb0e198bff00b3970da34de824e31ef7c.tar.bz2 |
Changelog entry, and change macro variable to not conflict with possible outside variable names
FossilOrigin-Name: 398f13f7abf2ed9923b0537dcd753845b3a6963f
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 b253db7..7a21590 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -2313,9 +2313,9 @@ EXTERN void Tcl_GetMemoryInfo _ANSI_ARGS_((Tcl_DString *dsPtr)); */ # 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) \ |