diff options
author | dgp <dgp@users.sourceforge.net> | 2016-10-14 19:54:55 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2016-10-14 19:54:55 (GMT) |
commit | 4f2cf6c3f14b3270aba8271882ea123c996e92cc (patch) | |
tree | ce1f4366fd2cd5708f4ad5966b4f16860e4904eb /generic/tclExecute.c | |
parent | 82cb589d0d190e8e36358e7d53bf33b34198c34b (diff) | |
parent | 664285ab18a7e50aca81ecb5c4ba99f368f8a7ac (diff) | |
download | tcl-4f2cf6c3f14b3270aba8271882ea123c996e92cc.zip tcl-4f2cf6c3f14b3270aba8271882ea123c996e92cc.tar.gz tcl-4f2cf6c3f14b3270aba8271882ea123c996e92cc.tar.bz2 |
merge trunk
Diffstat (limited to 'generic/tclExecute.c')
-rw-r--r-- | generic/tclExecute.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/generic/tclExecute.c b/generic/tclExecute.c index f1d72fc..593a4cf 100644 --- a/generic/tclExecute.c +++ b/generic/tclExecute.c @@ -5719,17 +5719,6 @@ TEBCresume( length3 = Tcl_GetCharLength(value3Ptr); /* - * Remove substring. In-place. - */ - - if (length3 == 0 && !Tcl_IsShared(valuePtr) && toIdx == length) { - TclDecrRefCount(value3Ptr); - Tcl_SetObjLength(valuePtr, fromIdx); - TRACE_APPEND(("\"%.30s\"\n", O2S(valuePtr))); - NEXT_INST_F(1, 0, 0); - } - - /* * See if we can splice in place. This happens when the number of * characters being replaced is the same as the number of characters * in the string to be inserted. |