Index: generic/nsf.c =================================================================== diff -u -N -re13bc9e723692977a4a1ad7edff619e705838ca3 -rabc49521cdbdd7043375d02dd85baa48526989d5 --- generic/nsf.c (.../nsf.c) (revision e13bc9e723692977a4a1ad7edff619e705838ca3) +++ generic/nsf.c (.../nsf.c) (revision abc49521cdbdd7043375d02dd85baa48526989d5) @@ -16843,8 +16843,6 @@ tcd->cmd = NULL; tcd->wrapperCmd = cmd; /* TODO should we preserve? */ - //assert(paramDefs != NULL); - /*fprintf(stderr, "NsfProcAdd %s tcd %p paramdefs %p\n", ObjStr(procNameObj), tcd, tcd->paramDefs);*/ @@ -22932,9 +22930,6 @@ EXTERN Tcl_Obj *Tcl_DisassembleByteCodeObj(Tcl_Interp *interp, Tcl_Obj *objPtr); Tcl_SetObjResult(interp, Tcl_DisassembleByteCodeObj(interp, procPtr->bodyPtr)); - //ByteCode *codePtr = (ByteCode*)(procPtr->bodyPtr->internalRep.twoPtrValue.ptr1); - //char*p=NULL; *p=1; - // p codePtr->objArrayPtr[8] } break; #endif @@ -25270,9 +25265,9 @@ if (likely(result == TCL_OK)) { ParseContext pc; NsfParamDefs *paramDefs = parsedParam.paramDefs; - ParamDefsRefCountIncr(paramDefs); unsigned int processFlags = 0u; + ParamDefsRefCountIncr(paramDefs); result = ArgumentParse(interp, objc, objv, NULL, NsfGlobalObjs[NSF_PARSE_ARGS], paramDefs->paramsPtr, paramDefs->nrParams, paramDefs->serial, processFlags|NSF_ARGPARSE_START_ZERO|RUNTIME_STATE(interp)->doCheckArguments,