diff options
author | charnier <charnier@FreeBSD.org> | 2003-06-08 13:39:32 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2003-06-08 13:39:32 +0000 |
commit | 6dc80df9f437372f2073231ff2d43481aadf2ded (patch) | |
tree | 0ab845d7f9de499f4ec6fda5d3a67d000447773e /usr.bin/apply | |
parent | 4dd40cb974e220fe97e36ec59747416a3d21f7e2 (diff) | |
download | FreeBSD-src-6dc80df9f437372f2073231ff2d43481aadf2ded.zip FreeBSD-src-6dc80df9f437372f2073231ff2d43481aadf2ded.tar.gz |
Add NOTREACHED after err() inside of a switch statement.
Diffstat (limited to 'usr.bin/apply')
-rw-r--r-- | usr.bin/apply/apply.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/apply/apply.c b/usr.bin/apply/apply.c index 25ba374..e75c2ee 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); |