summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorchl <chl@openbsd.org>2016-03-27 16:28:56 +0000
committerchl <chl@openbsd.org>2016-03-27 16:28:56 +0000
commit9394dafdadfa55a2a635a21482c84bee3daaae76 (patch)
tree2d9d1bc9e5dc8e8e7a2e707ac83dbcefedcac8b1 /lib/libc
parentsome style(9) and redundant tests for NULL, from Michael W. Bombardieri (diff)
downloadwireguard-openbsd-9394dafdadfa55a2a635a21482c84bee3daaae76.tar.xz
wireguard-openbsd-9394dafdadfa55a2a635a21482c84bee3daaae76.zip
remove unused variable
ok millert@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/syslog_r.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/syslog_r.c b/lib/libc/gen/syslog_r.c
index faa1bcdd8db..75a3ac84704 100644
--- a/lib/libc/gen/syslog_r.c
+++ b/lib/libc/gen/syslog_r.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: syslog_r.c,v 1.14 2016/03/21 22:41:28 bluhm Exp $ */
+/* $OpenBSD: syslog_r.c,v 1.15 2016/03/27 16:28:56 chl Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
* The Regents of the University of California. All rights reserved.
@@ -72,7 +72,7 @@ __vsyslog_r(int pri, struct syslog_data *data,
{
int cnt;
char ch, *p, *t;
- int fd, saved_errno;
+ int saved_errno;
#define TBUF_LEN (8192+1)
#define FMT_LEN 1024
char *conp = NULL, *stdp = NULL, tbuf[TBUF_LEN], fmt_cpy[FMT_LEN];