From 5288a06a919d8a9ea36e93eaa81d1285966bf031 Mon Sep 17 00:00:00 2001 From: Philippe Charnier Date: Sun, 8 Jun 2003 13:39:32 +0000 Subject: [PATCH] Add NOTREACHED after err() inside of a switch statement. --- usr.bin/apply/apply.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.bin/apply/apply.c b/usr.bin/apply/apply.c index 25ba374d97e9..e75c2ee05fb3 100644 --- a/usr.bin/apply/apply.c +++ b/usr.bin/apply/apply.c @@ -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);