diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-04-14 02:45:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-04-14 02:45:36 +0000 |
commit | e341626ecc5f97ac0da31c1465bb8f0d0a32b0e5 (patch) | |
tree | 0701325a40ac04a02233321c7007dd0aac1a440f /usr.bin/cvs/remove.c | |
parent | 0e753ff5b41a1e62682b49974035397e8b97edab (diff) |
remove a metric buttload of excessive ()
no binary change; ok ray
Diffstat (limited to 'usr.bin/cvs/remove.c')
-rw-r--r-- | usr.bin/cvs/remove.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/cvs/remove.c b/usr.bin/cvs/remove.c index c3a9fa5f16d..27c9da23e7a 100644 --- a/usr.bin/cvs/remove.c +++ b/usr.bin/cvs/remove.c @@ -1,4 +1,4 @@ -/* $OpenBSD: remove.c,v 1.43 2006/03/16 09:06:19 xsa Exp $ */ +/* $OpenBSD: remove.c,v 1.44 2006/04/14 02:45:35 deraadt Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * Copyright (c) 2004, 2005 Xavier Santolaria <xsa@openbsd.org> @@ -204,9 +204,9 @@ cvs_remove_local(CVSFILE *cf, void *arg) } if (existing != 0) { - cvs_log(LP_WARN, ((existing == 1) ? + cvs_log(LP_WARN, existing == 1 ? "%d file exists; remove it first" : - "%d files exist; remove them first"), existing); + "%d files exist; remove them first", existing); return (0); } @@ -231,7 +231,7 @@ cvs_remove_file(const char *fpath) return (-1); nuked++; } else { - if ((stat(fpath, &st) == -1) && (errno == ENOENT)) + if (stat(fpath, &st) == -1 && errno == ENOENT) nuked++; } |