summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall O'Higgins <niallo@cvs.openbsd.org>2005-07-09 18:56:17 +0000
committerNiall O'Higgins <niallo@cvs.openbsd.org>2005-07-09 18:56:17 +0000
commit9cb5fb6ddf65131d60239b7759b15aea8e73b779 (patch)
treeb422d028fd779a41bee170078394a22dc56262e1
parent3e3f8a2b8de41b1652e43969280596e35f1873df (diff)
kill useless "&& r1 == NULL" expression.
ok joris@
-rw-r--r--usr.bin/cvs/diff.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/diff.c b/usr.bin/cvs/diff.c
index 5bfcaa2422f..82f38d29eb0 100644
--- a/usr.bin/cvs/diff.c
+++ b/usr.bin/cvs/diff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diff.c,v 1.44 2005/07/09 16:28:30 niallo Exp $ */
+/* $OpenBSD: diff.c,v 1.45 2005/07/09 18:56:16 niallo Exp $ */
/*
* Copyright (C) Caldera International Inc. 2001-2002.
* All rights reserved.
@@ -608,7 +608,7 @@ cvs_diff_local(CVSFILE *cf, void *arg)
if (cf->cf_cvstat == CVS_FST_UNKNOWN) {
cvs_log(LP_WARN, "I know nothing about %s", diff_file);
return (0);
- } else if (cf->cf_cvstat == CVS_FST_UPTODATE && r1 == NULL)
+ } else if (cf->cf_cvstat == CVS_FST_UPTODATE)
return (0);
/* at this point, the file is modified */