diff options
Diffstat (limited to 'usr.bin/sdiff/sdiff.c')
-rw-r--r-- | usr.bin/sdiff/sdiff.c | 7 |
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]; |