diff --git a/usr.bin/split/split.c b/usr.bin/split/split.c index 0258c8cdfd8..be4befe9c0e 100644 --- a/usr.bin/split/split.c +++ b/usr.bin/split/split.c @@ -347,17 +347,14 @@ newfile(void) { long i, maxfiles, tfnum; static long fnum; - static int defname; static char *fpnt; if (ofd == -1) { if (fname[0] == '\0') { fname[0] = 'x'; fpnt = fname + 1; - defname = 1; } else { fpnt = fname + strlen(fname); - defname = 0; } ofd = fileno(stdout); }