summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/rcsprog.c
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-03-16 04:04:58 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-03-16 04:04:58 +0000
commitc92034840d8dec600a825fc03316c2fb723f665c (patch)
tree9173e3acb21cf0eb72e80d090b0e3d7bee6411c9 /usr.bin/rcs/rcsprog.c
parent2f3b113bf98f757cf799839e4ec195a00579a2be (diff)
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;