From 3adb4d32aa2a71bd88c9d0dc831cf0cab0295d05 Mon Sep 17 00:00:00 2001 From: Philippe Charnier Date: Mon, 9 Jun 2003 19:21:35 +0000 Subject: [PATCH] Revert previous commit, from Bruce: This is a style bug. err() is declared is non-returning so that every use of it doesn't need to be encrufted with NOTREACHED. It's too bad that only gcc understands the declaration. Asked by: bde@ --- usr.bin/apply/apply.c | 1 - 1 file changed, 1 deletion(-) diff --git a/usr.bin/apply/apply.c b/usr.bin/apply/apply.c index e75c2ee05fb..25ba374d97e 100644 --- a/usr.bin/apply/apply.c +++ b/usr.bin/apply/apply.c @@ -242,7 +242,6 @@ 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);