From 9a15a1b58648809ffb208eaa00cd20af4784050d Mon Sep 17 00:00:00 2001 From: sebres Date: Fri, 7 Sep 2018 14:24:49 +0000 Subject: small code review (duplicate code removed) --- generic/tclProc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/tclProc.c b/generic/tclProc.c index e51f5b3..232eb93 100644 --- a/generic/tclProc.c +++ b/generic/tclProc.c @@ -611,7 +611,7 @@ TclCreateProc( procPtr->lastLocalPtr = localPtr; } localPtr->nextPtr = NULL; - localPtr->nameLength = Tcl_NumUtfChars(argname, fieldValues[0]->length); + localPtr->nameLength = nameLength; localPtr->frameIndex = i; localPtr->flags = VAR_ARGUMENT; localPtr->resolveInfo = NULL; -- cgit v0.12