diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2006-05-31 07:12:33 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2006-05-31 07:12:33 +0000 |
commit | da368f85af12df32a35179775da1b91a9959b6ef (patch) | |
tree | 07097b46ac1de60ea5c7f440773d78c18fcac63e | |
parent | 7963f0abb53ec62f3c41e04fa1238721e1793fd4 (diff) |
dont check for FILE_UNKNOWN twice,
noticed by xsa@
-rw-r--r-- | usr.bin/cvs/remove.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/cvs/remove.c b/usr.bin/cvs/remove.c index 3ea396947fa..5d8e88a7071 100644 --- a/usr.bin/cvs/remove.c +++ b/usr.bin/cvs/remove.c @@ -1,4 +1,4 @@ -/* $OpenBSD: remove.c,v 1.51 2006/05/30 22:05:53 joris Exp $ */ +/* $OpenBSD: remove.c,v 1.52 2006/05/31 07:12:32 joris Exp $ */ /* * Copyright (c) 2005, 2006 Xavier Santolaria <xsa@openbsd.org> * @@ -131,12 +131,6 @@ cvs_remove_local(struct cvs_file *cf) existing++; } else { switch(cf->file_status) { - case FILE_UNKNOWN: - if (verbosity > 1) { - cvs_log(LP_ERR, "nothing known about `%s'", - cf->file_name); - } - return; case FILE_ADDED: entlist = cvs_ent_open(cf->file_wd); cvs_ent_remove(entlist, cf->file_name); |