diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-08-08 11:37:42 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-08-08 11:37:42 +0000 |
commit | d0c6c55244b275920c02fa1bb6d9244aa4cc23c3 (patch) | |
tree | c03297a17fe0bcba8b80321b1b1368c2f2e98a0d /usr.bin/cvs | |
parent | 287d126cd15091bd49278fb5efcc66401b4a8c66 (diff) |
zap unused vars;
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/status.c | 7 | ||||
-rw-r--r-- | usr.bin/cvs/update.c | 5 |
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) |