Add NOTREACHED after err() inside of a switch statement.

This commit is contained in:
charnier 2003-06-08 13:39:32 +00:00
parent 4dd40cb974
commit 6dc80df9f4

View File

@ -242,6 +242,7 @@ exec_shell(const char *command, char *use_shell, char *use_name)
switch(pid = vfork()) {
case -1: /* error */
err(1, "vfork");
/* NOTREACHED */
case 0: /* child */
(void)sigsetmask(omask);
execl(use_shell, use_name, "-c", command, (char *)NULL);