summaryrefslogtreecommitdiff
path: root/usr.bin/rcs
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-07-27 02:58:32 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-07-27 02:58:32 +0000
commit051ff6fd8a659dfb0cbc41c1c86898fa9939220d (patch)
tree8d9d3b55ac2e3f6b5dd0927f6a6b510a04191b2d /usr.bin/rcs
parentb5e7a948fe1163abaaeda9f22aa1515a31da6f1f (diff)
unused variable
Diffstat (limited to 'usr.bin/rcs')
-rw-r--r--usr.bin/rcs/rcs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rcs/rcs.c b/usr.bin/rcs/rcs.c
index 5d6893e98eb..bf37a1b22cb 100644
--- a/usr.bin/rcs/rcs.c
+++ b/usr.bin/rcs/rcs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcs.c,v 1.26 2006/07/27 02:57:19 deraadt Exp $ */
+/* $OpenBSD: rcs.c,v 1.27 2006/07/27 02:58:31 deraadt Exp $ */
/*
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
* All rights reserved.
@@ -365,10 +365,10 @@ rcs_write(RCSFILE *rfp)
struct rcs_delta *rdp;
struct rcs_lock *lkp;
size_t len;
- int fd, from_fd, to_fd;
+ int fd;
fn = NULL;
- from_fd = to_fd = fd = -1;
+ fd = -1;
if (rfp->rf_flags & RCS_SYNCED)
return;