summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@cvs.openbsd.org>2008-06-08 13:34:23 +0000
committerTobias Stoeckmann <tobias@cvs.openbsd.org>2008-06-08 13:34:23 +0000
commit325796cf0c5787746f69c67f93cde1fa8acd04fc (patch)
tree996c5414b2ee2613797bbe9f37e1cd83471e5651 /usr.bin
parent3cdded03fa9a557f76612cf2b120d96af274e091 (diff)
Removed unreachable code.
Spotted by Igor Zinovik. ok joris
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/cvs/file.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c
index 4f97b08a454..7a5ab6359bd 100644
--- a/usr.bin/cvs/file.c
+++ b/usr.bin/cvs/file.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: file.c,v 1.239 2008/06/08 03:03:08 tobias Exp $ */
+/* $OpenBSD: file.c,v 1.240 2008/06/08 13:34:22 tobias Exp $ */
/*
* Copyright (c) 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
@@ -899,8 +899,6 @@ cvs_file_classify(struct cvs_file *cf, const char *tag)
cf->file_path);
}
cf->file_status = FILE_LOST;
- } else if (cf->file_rcsrev == NULL) {
- cf->file_status = FILE_UNLINK;
} else {
if (ismodified == 1)
cf->file_status = FILE_MODIFIED;