summaryrefslogtreecommitdiff
path: root/usr.bin/cvs/version.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-14 02:45:36 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-04-14 02:45:36 +0000
commite341626ecc5f97ac0da31c1465bb8f0d0a32b0e5 (patch)
tree0701325a40ac04a02233321c7007dd0aac1a440f /usr.bin/cvs/version.c
parent0e753ff5b41a1e62682b49974035397e8b97edab (diff)
remove a metric buttload of excessive ()
no binary change; ok ray
Diffstat (limited to 'usr.bin/cvs/version.c')
-rw-r--r--usr.bin/cvs/version.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/cvs/version.c b/usr.bin/cvs/version.c
index 0e3fd1609e6..c7ce5bdb4e0 100644
--- a/usr.bin/cvs/version.c
+++ b/usr.bin/cvs/version.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: version.c,v 1.19 2006/01/02 08:11:56 xsa Exp $ */
+/* $OpenBSD: version.c,v 1.20 2006/04/14 02:45:35 deraadt Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -53,11 +53,11 @@ struct cvs_cmd cvs_cmd_version = {
static int
cvs_version_pre_exec(struct cvsroot *root)
{
- if ((root != NULL) && (root->cr_method != CVS_METHOD_LOCAL))
+ if (root != NULL && root->cr_method != CVS_METHOD_LOCAL)
printf("Client: ");
cvs_printf("%s\n", CVS_VERSION);
- if ((root != NULL) && (root->cr_method != CVS_METHOD_LOCAL)) {
+ if (root != NULL && root->cr_method != CVS_METHOD_LOCAL) {
cvs_printf("Server: %s\n", root->cr_version == NULL ?
"(unknown)" : root->cr_version);
}