diff options
author | pooryorick <com.digitalsmarties@pooryorick.com> | 2021-05-18 10:25:47 (GMT) |
---|---|---|
committer | pooryorick <com.digitalsmarties@pooryorick.com> | 2021-05-18 10:25:47 (GMT) |
commit | 6c78a003cbd426296bcd63bc0b743401d9ae3444 (patch) | |
tree | a75697750a59774afdc81fb5d041b6c62f9d79fb | |
parent | 519a6557ea2e15030141815b729dff728256fc3a (diff) | |
parent | 3061a062b5ff2e6b9df1f948468b9f1b0acecf9a (diff) | |
download | tcl-6c78a003cbd426296bcd63bc0b743401d9ae3444.zip tcl-6c78a003cbd426296bcd63bc0b743401d9ae3444.tar.gz tcl-6c78a003cbd426296bcd63bc0b743401d9ae3444.tar.bz2 |
Remove unneeded cmdPtr increment and decrement.
-rw-r--r-- | generic/tclBasic.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c index c73af35..df86f8c 100644 --- a/generic/tclBasic.c +++ b/generic/tclBasic.c @@ -3331,7 +3331,6 @@ CallCommandTraces( } } cmdPtr->flags |= CMD_TRACE_ACTIVE; - cmdPtr->refCount++; result = NULL; active.nextPtr = iPtr->activeCmdTracePtr; @@ -3389,7 +3388,6 @@ CallCommandTraces( */ cmdPtr->flags &= ~CMD_TRACE_ACTIVE; - cmdPtr->refCount--; iPtr->activeCmdTracePtr = active.nextPtr; Tcl_Release(iPtr); return result; |