summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-07-27 02:57:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-07-27 02:57:18 +0000
commit7e3107b4dbac6d37eabed5d26c4b370070d6ff8f (patch)
tree6978d0ed32a4dcc5b28b99f7f0063d5976a5b3f9
parent98029a0db3e64429ea0666359a76ba109d02c745 (diff)
unused variable
-rw-r--r--usr.bin/rcs/ci.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c
index f6301f7f632..ddedddfdd63 100644
--- a/usr.bin/rcs/ci.c
+++ b/usr.bin/rcs/ci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ci.c,v 1.181 2006/07/08 09:25:44 ray Exp $ */
+/* $OpenBSD: ci.c,v 1.182 2006/07/27 02:57:17 deraadt Exp $ */
/*
* Copyright (c) 2005, 2006 Niall O'Higgins <niallo@openbsd.org>
* All rights reserved.
@@ -416,12 +416,10 @@ checkin_getlogmsg(RCSNUM *rev, RCSNUM *rev2, int flags)
static int
checkin_update(struct checkin_params *pb)
{
- char *filec, numb1[64], numb2[64];
+ char numb1[64], numb2[64];
struct stat st;
BUF *bp;
- filec = NULL;
-
/*
* XXX this is wrong, we need to get the revision the user
* has the lock for. So we can decide if we want to create a