summaryrefslogtreecommitdiffstats
path: root/usr.bin/rcs/rcsutil.c
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2014-10-10 08:15:25 +0000
committerotto <otto@openbsd.org>2014-10-10 08:15:25 +0000
commit9344339577954f494d1deda0d4551b6b5d816f16 (patch)
tree94a50a15981c65b50f3e934768d1419598ea4ffb /usr.bin/rcs/rcsutil.c
parentExplicitly handle -l and -u combinations. From Fritjof Bornebusch; ok daniel@ (diff)
downloadwireguard-openbsd-9344339577954f494d1deda0d4551b6b5d816f16.tar.xz
wireguard-openbsd-9344339577954f494d1deda0d4551b6b5d816f16.zip
Zap some stored values never read; From Fritjof Bornebusch; ok nicm@
Diffstat (limited to 'usr.bin/rcs/rcsutil.c')
-rw-r--r--usr.bin/rcs/rcsutil.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/rcs/rcsutil.c b/usr.bin/rcs/rcsutil.c
index 473adab149a..5e7d936d448 100644
--- a/usr.bin/rcs/rcsutil.c
+++ b/usr.bin/rcs/rcsutil.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rcsutil.c,v 1.40 2014/05/29 16:39:42 tedu Exp $ */
+/* $OpenBSD: rcsutil.c,v 1.41 2014/10/10 08:15:25 otto Exp $ */
/*
* Copyright (c) 2005, 2006 Joris Vink <joris@openbsd.org>
* Copyright (c) 2006 Xavier Santolaria <xsa@openbsd.org>
@@ -157,8 +157,6 @@ rcs_choosefile(const char *filename, char *out, size_t len)
char *p, *ext, name[MAXPATHLEN], *next, *ptr, rcsdir[MAXPATHLEN],
*suffixes, rcspath[MAXPATHLEN];
- fd = -1;
-
/*
* If `filename' contains a directory, `rcspath' contains that
* directory, including a trailing slash. Otherwise `rcspath'