summaryrefslogtreecommitdiff
path: root/usr.bin/rcs/ci.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/ci.c
parent2f3b113bf98f757cf799839e4ec195a00579a2be (diff)
Follow exit() with /* NOTREACHED*/ for lint.
``OK niallo@'' niallo@
Diffstat (limited to 'usr.bin/rcs/ci.c')
-rw-r--r--usr.bin/rcs/ci.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c
index c5939a003e5..f5278cb0e70 100644
--- a/usr.bin/rcs/ci.c
+++ b/usr.bin/rcs/ci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ci.c,v 1.120 2006/03/15 20:57:14 joris Exp $ */
+/* $OpenBSD: ci.c,v 1.121 2006/03/16 04:04:57 ray Exp $ */
/*
* Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@ -131,6 +131,7 @@ checkin_main(int argc, char **argv)
case 'h':
(usage)();
exit(0);
+ /* NOTREACHED */
case 'I':
rcs_set_rev(rcs_optarg, &pb.newrev);
pb.flags |= INTERACTIVE;
@@ -199,6 +200,7 @@ checkin_main(int argc, char **argv)
case 'V':
printf("%s\n", rcs_version);
exit(0);
+ /* NOTREACHED */
case 'w':
pb.author = xstrdup(rcs_optarg);
break;