diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-04-15 07:41:21 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-04-15 07:41:21 +0000 |
commit | dd6516bba2a8f82b134993ae4ca74c1f62649ff9 (patch) | |
tree | b0b36dc1093f29532491b49149dfba51851157fd /usr.bin/cvs | |
parent | d139ba44476c152653fd9d1490a2f5b34b17d201 (diff) |
shudup useless warning; ok jfb@.
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/resp.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/cvs/resp.c b/usr.bin/cvs/resp.c index 80b374d2996..0c2ec2a57f4 100644 --- a/usr.bin/cvs/resp.c +++ b/usr.bin/cvs/resp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resp.c,v 1.25 2005/04/14 03:02:35 joris Exp $ */ +/* $OpenBSD: resp.c,v 1.26 2005/04/15 07:41:20 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -463,9 +463,7 @@ cvs_resp_newentry(struct cvsroot *root, int type, char *line) ent->ce_mtime = time(&(ent->ce_mtime)); /* replace the current entry with the one we just received */ - if (cvs_ent_remove(entfile, ent->ce_name) < 0) - cvs_log(LP_WARN, "failed to remove `%s' entry", - ent->ce_name); + (void)cvs_ent_remove(entfile, ent->ce_name); cvs_ent_add(entfile, ent); } |