diff options
author | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2004-08-13 13:27:53 +0000 |
---|---|---|
committer | Jean-Francois Brousseau <jfb@cvs.openbsd.org> | 2004-08-13 13:27:53 +0000 |
commit | ff3e92c23352b82d802095bcc8217a0e41e76ec7 (patch) | |
tree | 31847603de0962facc47e14c908e473fbb6c3112 /usr.bin/cvs | |
parent | e39c670f609437ec1c5b3351714474ba84a3c50e (diff) |
Remove unused variables
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/add.c | 4 | ||||
-rw-r--r-- | usr.bin/cvs/resp.c | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/cvs/add.c b/usr.bin/cvs/add.c index 41bab1c7198..2f92b18196c 100644 --- a/usr.bin/cvs/add.c +++ b/usr.bin/cvs/add.c @@ -1,4 +1,4 @@ -/* $OpenBSD: add.c,v 1.3 2004/08/13 12:59:28 jfb Exp $ */ +/* $OpenBSD: add.c,v 1.4 2004/08/13 13:27:52 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -56,7 +56,7 @@ int cvs_add_file (CVSFILE *, void *); int cvs_add(int argc, char **argv) { - int i, ch, ret; + int i, ch; char *kflag, *msg; struct cvsroot *root; diff --git a/usr.bin/cvs/resp.c b/usr.bin/cvs/resp.c index 3ae451c6e21..59135cccbfa 100644 --- a/usr.bin/cvs/resp.c +++ b/usr.bin/cvs/resp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: resp.c,v 1.5 2004/08/13 13:24:13 jfb Exp $ */ +/* $OpenBSD: resp.c,v 1.6 2004/08/13 13:27:52 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -497,13 +497,11 @@ cvs_resp_modtime(struct cvsroot *root, int type, char *line) static int cvs_resp_updated(struct cvsroot *root, int type, char *line) { - size_t len; mode_t fmode; char path[MAXPATHLEN], cksum_buf[CVS_CKSUM_LEN]; BUF *fbuf; CVSFILE *cf; struct cvs_ent *ep; - struct tm tm; struct timeval tv[2]; STRIP_SLASH(line); |