diff --git a/usr.bin/sed/main.c b/usr.bin/sed/main.c index 566fd57271..2b01a83299 100644 --- a/usr.bin/sed/main.c +++ b/usr.bin/sed/main.c @@ -228,7 +228,6 @@ cu_fgets(char *buf, int n, int *more) err(1, "%s", script->s); fname = script->s; state = ST_FILE; - goto again; case CU_STRING: if (((size_t)snprintf(string_ident, sizeof(string_ident), "\"%s\"", script->s)) >= @@ -238,8 +237,8 @@ cu_fgets(char *buf, int n, int *more) fname = string_ident; s = script->s; state = ST_STRING; - goto again; } + goto again; case ST_FILE: if ((p = fgets(buf, n, f)) != NULL) { linenum++;