summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclBinary.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c
index 98a4d31..69f5baf 100644
--- a/generic/tclBinary.c
+++ b/generic/tclBinary.c
@@ -2614,12 +2614,6 @@ BinaryEncodeUu(
break;
case OPT_WRAPCHAR:
wrapchar = Tcl_GetStringFromObj(objv[i+1], &wrapcharlen);
- if (wrapcharlen < 0 || wrapcharlen > 2) {
- Tcl_SetResult(interp, "wrap char out of range", TCL_STATIC);
- Tcl_SetErrorCode(interp, "TCL", "BINARY", "ENCODE",
- "WRAP_CHAR", NULL);
- return TCL_ERROR;
- }
break;
}
}