diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-03-30 06:10:23 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2021-03-30 06:10:23 (GMT) |
commit | 9eb5b14a3c8a078ee645a69b398cc03579126c05 (patch) | |
tree | b6fa9e83c87d4f4b67a3fb19bf6f41d746b186a7 | |
parent | 0f632bd1c57894dc565aff76d1258d88d5d60aaa (diff) | |
download | tcl-9eb5b14a3c8a078ee645a69b398cc03579126c05.zip tcl-9eb5b14a3c8a078ee645a69b398cc03579126c05.tar.gz tcl-9eb5b14a3c8a078ee645a69b398cc03579126c05.tar.bz2 |
remove useless save/restore
-rw-r--r-- | generic/tclEncoding.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/generic/tclEncoding.c b/generic/tclEncoding.c index 012c954..1536f98 100644 --- a/generic/tclEncoding.c +++ b/generic/tclEncoding.c @@ -1241,7 +1241,6 @@ Tcl_ExternalToUtf( dstLen--; } do { - int savedFlags = flags; Tcl_EncodingState savedState = *statePtr; result = encodingPtr->toUtfProc(encodingPtr->clientData, src, srcLen, @@ -1251,7 +1250,6 @@ Tcl_ExternalToUtf( break; } dstLen = Tcl_UtfAtIndex(dst, maxChars) - dst + (TCL_UTF_MAX - 1); - flags = savedFlags; *statePtr = savedState; } while (1); if (!noTerminate) { |