Index: generic/nsf.c =================================================================== diff -u -r71dcbd9cdd5b6d564c0c1c831825e2579f1abb46 -r35936dfb2f051188d7a0a2def9babdbe989c5953 --- generic/nsf.c (.../nsf.c) (revision 71dcbd9cdd5b6d564c0c1c831825e2579f1abb46) +++ generic/nsf.c (.../nsf.c) (revision 35936dfb2f051188d7a0a2def9babdbe989c5953) @@ -10102,7 +10102,7 @@ GuardDel(new); } } - + return result; } @@ -16580,7 +16580,7 @@ if (*nameStr == '\0' || NsfHasTclSpace(nameStr)) { return NsfPrintError(interp, "invalid method name '%s'", nameStr); } - + if (precondition != NULL && postcondition == NULL) { return NsfPrintError(interp, "%s method '%s'; when specifying a precondition (%s)" " a postcondition must be specified as well", @@ -17770,7 +17770,7 @@ cscPtr = CallStackGetTopFrame0(interp); if (unlikely(cscPtr == NULL)) { result = NULL; - + } else { if (cscPtr->frameType == NSF_CSC_TYPE_PLAIN) { result = cscPtr->cl; @@ -17784,18 +17784,18 @@ } else { methodName = NULL; } - + if (unlikely(methodName == NULL)) { result = NULL; - + } else if (object->nsPtr != NULL && FindMethod(object->nsPtr, methodName) != NULL) { /* * An object specific method was called. */ result = NULL; } else { Tcl_Command cmd; - + result = SearchCMethod(object->cl, methodName, &cmd); } } @@ -18478,11 +18478,11 @@ cscPtr = CallStackGetTopFrame0(interp); if (unlikely(cscPtr == NULL)) { result = NsfPrintError(interp, "called outside NSF scope"); - + } else { Tcl_Command cmd = NULL, currentCmd = NULL; const char *methodName; - + Tcl_ResetResult(interp); methodName = Tcl_GetCommandName(interp, cscPtr->cmdPtr); @@ -18495,7 +18495,7 @@ int isMixinEntry = 0, isFilterEntry = 0, endOfFilterChain = 0; NsfClass *cl = cscPtr->cl; NsfObject *object = cscPtr->self; - + result = NextSearchMethod(object, interp, cscPtr, &cl, &methodName, &cmd, &isMixinEntry, &isFilterEntry, &endOfFilterChain, ¤tCmd); if (cmd != NULL) { @@ -26198,7 +26198,7 @@ break; case MethodpropertyNULL: /* fall through */ case MethodpropertyReturnsIdx: /* fall through */ - case MethodpropertyExistsIdx: + case MethodpropertyExistsIdx: flag = 0u; break; } @@ -29010,7 +29010,7 @@ paramPtr = NULL; } found = (paramPtr != NULL); - + if (found == 0) { result = NsfPrintError(interp, "cget: unknown configure parameter %s", nameString); goto cget_exit;