summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxsa <xsa@openbsd.org>2005-08-08 11:37:41 +0000
committerxsa <xsa@openbsd.org>2005-08-08 11:37:41 +0000
commit834ea0288157e7b883b09d83590938bf84f3e0cb (patch)
tree4a6d7c3f7cebb0e31ecf3d1d555b2e0094c16d10
parentAdd a few splassert() checks, okay art@ (diff)
downloadwireguard-openbsd-834ea0288157e7b883b09d83590938bf84f3e0cb.tar.xz
wireguard-openbsd-834ea0288157e7b883b09d83590938bf84f3e0cb.zip
zap unused vars;
-rw-r--r--usr.bin/cvs/status.c7
-rw-r--r--usr.bin/cvs/update.c5
2 files changed, 4 insertions, 8 deletions
diff --git a/usr.bin/cvs/status.c b/usr.bin/cvs/status.c
index 3c1f1938e3a..5d7c8a1e763 100644
--- a/usr.bin/cvs/status.c
+++ b/usr.bin/cvs/status.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: status.c,v 1.43 2005/07/27 16:42:19 xsa Exp $ */
+/* $OpenBSD: status.c,v 1.44 2005/08/08 11:37:41 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* Copyright (c) 2005 Xavier Santolaria <xsa@openbsd.org>
@@ -125,14 +125,11 @@ static int
cvs_status_remote(CVSFILE *cfp, void *arg)
{
int ret;
- char *repo, fpath[MAXPATHLEN];
- RCSFILE *rf;
+ char fpath[MAXPATHLEN];
struct cvsroot *root;
ret = 0;
- rf = NULL;
root = CVS_DIR_ROOT(cfp);
- repo = CVS_DIR_REPO(cfp);
if (cfp->cf_type == DT_DIR) {
if (cfp->cf_cvstat == CVS_FST_UNKNOWN)
diff --git a/usr.bin/cvs/update.c b/usr.bin/cvs/update.c
index cf8ef85b6a3..372ee452f15 100644
--- a/usr.bin/cvs/update.c
+++ b/usr.bin/cvs/update.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: update.c,v 1.43 2005/07/27 16:42:19 xsa Exp $ */
+/* $OpenBSD: update.c,v 1.44 2005/08/08 11:37:41 xsa Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -164,12 +164,11 @@ static int
cvs_update_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)