Skip to content

Commit

Permalink
10302 sed: this statement may fall through
Browse files Browse the repository at this point in the history
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
  • Loading branch information
tsoome authored and Dan McDonald committed Feb 4, 2019
1 parent b6e3994 commit 941b7e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions usr/src/cmd/sed/main.c
Expand Up @@ -251,6 +251,8 @@ cu_fgets(char *buf, int n, int *more)
s = script->s;
state = ST_STRING;
goto again;
default:
errx(1, "BUG: Unknown script type: %d\n", script->type);
}
/*NOTREACHED*/

Expand Down

0 comments on commit 941b7e9

Please sign in to comment.