Index: generic/nsf.c =================================================================== diff -u -r942f96c0b39c754cbb418ded75c5e2efba79b4d2 -r184857ac1d752de2c8dc2e7275306f9e7086a758 --- generic/nsf.c (.../nsf.c) (revision 942f96c0b39c754cbb418ded75c5e2efba79b4d2) +++ generic/nsf.c (.../nsf.c) (revision 184857ac1d752de2c8dc2e7275306f9e7086a758) @@ -1774,7 +1774,7 @@ NsfClasses *entryPtr = NULL; if (*firstPtrPtr != NULL) { - NsfClasses *prevPtr; + NsfClasses *prevPtr = NULL; /* list is non-empty */ for (entryPtr = *firstPtrPtr; entryPtr; prevPtr = entryPtr, entryPtr = entryPtr->nextPtr) { @@ -23145,6 +23145,8 @@ } case LIST_DASH: /* Argument is a list with a leading dash, grouping determined by list */ { i++; + nextMethodName = NULL; + if (i < objc) { isdasharg = IsDashArg(interp, objv[i], 1, &nextMethodName, &nextArgc, &nextArgv); } else {