summaryrefslogtreecommitdiff
path: root/usr.bin/sdiff/sdiff.c
diff options
context:
space:
mode:
authorRay Lai <ray@cvs.openbsd.org>2006-05-10 14:32:52 +0000
committerRay Lai <ray@cvs.openbsd.org>2006-05-10 14:32:52 +0000
commit20bae4bfac04f34bb48b95b3c7431d86e17e6f26 (patch)
tree99abd86af7ae9b9254481d4511f42fecfd2be97e /usr.bin/sdiff/sdiff.c
parentbfc8f9903ae4c08d5be6b56ce542468193f1e0b7 (diff)
Now that lint is smarter, remove /* NOTREACHED */ comments.
OK jaredy@
Diffstat (limited to 'usr.bin/sdiff/sdiff.c')
-rw-r--r--usr.bin/sdiff/sdiff.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/sdiff/sdiff.c b/usr.bin/sdiff/sdiff.c
index 5ce8fe73a1b..b0ed9b99954 100644
--- a/usr.bin/sdiff/sdiff.c
+++ b/usr.bin/sdiff/sdiff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdiff.c,v 1.17 2006/03/05 07:12:26 otto Exp $ */
+/* $OpenBSD: sdiff.c,v 1.18 2006/05/10 14:32:51 ray Exp $ */
/*
* Written by Raymond Lai <ray@cyth.net>.
@@ -235,17 +235,14 @@ main(int argc, char **argv)
break;
default:
usage();
- /* NOTREACHED */
}
}
argc -= optind;
argv += optind;
- if (argc != 2) {
+ if (argc != 2)
usage();
- /* NOTREACHED */
- }
filename1 = argv[0];
filename2 = argv[1];