summaryrefslogtreecommitdiff
path: root/usr.bin/cvs
diff options
context:
space:
mode:
authorXavier Santolaria <xsa@cvs.openbsd.org>2005-08-08 14:48:28 +0000
committerXavier Santolaria <xsa@cvs.openbsd.org>2005-08-08 14:48:28 +0000
commit46871c37009eafd817baab2c036555bbabde724f (patch)
treecd9c6dcbf553fd8bcecb3b35b6a8986b4a9bd8a6 /usr.bin/cvs
parent4939c38dab110f3b93f14294c1c1365afcb31dba (diff)
zap unused var;
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r--usr.bin/cvs/getlog.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/cvs/getlog.c b/usr.bin/cvs/getlog.c
index 4dc26a7b5f6..72a82ba7ca4 100644
--- a/usr.bin/cvs/getlog.c
+++ b/usr.bin/cvs/getlog.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: getlog.c,v 1.45 2005/08/05 10:17:14 xsa Exp $ */
+/* $OpenBSD: getlog.c,v 1.46 2005/08/08 14:48:27 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -155,12 +155,11 @@ static int
cvs_getlog_remote(CVSFILE *cf, void *arg)
{
int ret;
- char *repo, fpath[MAXPATHLEN];
+ char fpath[MAXPATHLEN];
struct cvsroot *root;
ret = 0;
root = CVS_DIR_ROOT(cf);
- repo = CVS_DIR_REPO(cf);
if (cf->cf_type == DT_DIR) {
if (cf->cf_cvstat == CVS_FST_UNKNOWN)