diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-12-09 04:27:02 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-12-09 04:27:02 +0000 |
commit | 4353368af7920fdce4ba91287453d2a4424b534d (patch) | |
tree | b915ae5a2a31f45195ca00417f6c7829f8b524ec /usr.bin/rcs | |
parent | df5f0721b5fcc8d56c65b88acc8d9f95cd28c617 (diff) |
unused vars, my bad;
Diffstat (limited to 'usr.bin/rcs')
-rw-r--r-- | usr.bin/rcs/ci.c | 3 | ||||
-rw-r--r-- | usr.bin/rcs/co.c | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c index c7184f38cf8..120f8f08228 100644 --- a/usr.bin/rcs/ci.c +++ b/usr.bin/rcs/ci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ci.c,v 1.82 2005/12/08 18:56:10 joris Exp $ */ +/* $OpenBSD: ci.c,v 1.83 2005/12/09 04:27:01 joris Exp $ */ /* * Copyright (c) 2005 Niall O'Higgins <niallo@openbsd.org> * All rights reserved. @@ -738,7 +738,6 @@ checkin_revert(struct checkin_params *pb) static int checkin_checklock(struct checkin_params *pb) { - int notlocked = 1; struct rcs_lock *lkp; TAILQ_FOREACH(lkp, &(pb->file->rf_locks), rl_list) { diff --git a/usr.bin/rcs/co.c b/usr.bin/rcs/co.c index 1a625b2801d..aee9a2c86d5 100644 --- a/usr.bin/rcs/co.c +++ b/usr.bin/rcs/co.c @@ -1,4 +1,4 @@ -/* $OpenBSD: co.c,v 1.44 2005/12/08 18:56:10 joris Exp $ */ +/* $OpenBSD: co.c,v 1.45 2005/12/09 04:27:01 joris Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -47,10 +47,9 @@ checkout_main(int argc, char **argv) int i, ch, flags, kflag; RCSNUM *frev, *rev; RCSFILE *file; - char fpath[MAXPATHLEN], buf[16]; + char fpath[MAXPATHLEN]; char *author, *username; const char *state; - struct rcs_delta *rdp; time_t rcs_mtime = -1; flags = 0; |