summaryrefslogtreecommitdiffstats
path: root/usr.bin/rcs/rcsprog.c
diff options
context:
space:
mode:
authorray <ray@openbsd.org>2006-03-16 04:04:57 +0000
committerray <ray@openbsd.org>2006-03-16 04:04:57 +0000
commitd348760572a326afa18934b0645ddc196f0c66c6 (patch)
tree68707ea9e514979117a7d3ceb8b9e95471321d01 /usr.bin/rcs/rcsprog.c
parentCurrently co(1) overwrites files that the current user doesn't have (diff)
downloadwireguard-openbsd-d348760572a326afa18934b0645ddc196f0c66c6.tar.xz
wireguard-openbsd-d348760572a326afa18934b0645ddc196f0c66c6.zip
Follow exit() with /* NOTREACHED*/ for lint.
``OK niallo@'' niallo@
Diffstat (limited to 'usr.bin/rcs/rcsprog.c')
-rw-r--r--usr.bin/rcs/rcsprog.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/rcs/rcsprog.c b/usr.bin/rcs/rcsprog.c
index 9bcc606b20f..ec37158f596 100644
--- a/usr.bin/rcs/rcsprog.c
+++ b/usr.bin/rcs/rcsprog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsprog.c,v 1.75 2006/03/16 03:51:18 ray Exp $ */
+/* $OpenBSD: rcsprog.c,v 1.76 2006/03/16 04:04:57 ray Exp $ */
/*
* Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -430,6 +430,7 @@ main(int argc, char **argv)
}
exit(ret);
+ /* NOTREACHED */
}
@@ -487,6 +488,7 @@ rcs_main(int argc, char **argv)
case 'h':
(usage)();
exit(0);
+ /* NOTREACHED */
case 'i':
flags |= RCS_CREATE;
rcsflags |= RCS_CREATE;
@@ -536,6 +538,7 @@ rcs_main(int argc, char **argv)
case 'V':
printf("%s\n", rcs_version);
exit(0);
+ /* NOTREACHED */
case 'x':
rcs_suffixes = rcs_optarg;
break;