summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclUtil.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c
index 15b67b9..82ef9b7 100644
--- a/generic/tclUtil.c
+++ b/generic/tclUtil.c
@@ -1625,11 +1625,6 @@ TclTrimLeft(
const char *q = trim;
int bytesLeft = numTrim;
- /* take care about real length of char, e.g. if TclUtfToUniChar would
- * mistakenly consider NTS 0-byte as a continuation of invalid utf-8
- * sequence, bug [c61818e4c9] */
- if (pInc > numBytes) {pInc = numBytes;}
-
/* Inner loop: scan trim string for match to current character */
do {
Tcl_UniChar ch2;