summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/syslog_r.c
diff options
context:
space:
mode:
authorchl <chl@openbsd.org>2009-11-21 10:23:31 +0000
committerchl <chl@openbsd.org>2009-11-21 10:23:31 +0000
commit058a2cd3cb2a2730d4efeb4e57d78bf479cab51a (patch)
tree56f031ba8dc9f151d4d0c17e5a02a67ee7da1f2d /lib/libc/gen/syslog_r.c
parentOoops, committed an unbaked change (diff)
downloadwireguard-openbsd-058a2cd3cb2a2730d4efeb4e57d78bf479cab51a.tar.xz
wireguard-openbsd-058a2cd3cb2a2730d4efeb4e57d78bf479cab51a.zip
remove unused variable
ok guenther@
Diffstat (limited to 'lib/libc/gen/syslog_r.c')
-rw-r--r--lib/libc/gen/syslog_r.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/gen/syslog_r.c b/lib/libc/gen/syslog_r.c
index cfacae5a6d2..6e38a62d276 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.1 2009/11/18 07:43:22 guenther Exp $ */
+/* $OpenBSD: syslog_r.c,v 1.2 2009/11/21 10:23:31 chl Exp $ */
/*
* Copyright (c) 1983, 1988, 1993
* The Regents of the University of California. All rights reserved.
@@ -89,7 +89,6 @@ __vsyslog_r(int pri, struct syslog_data *data,
{
int cnt;
char ch, *p, *t;
- time_t now;
int fd, saved_errno, error;
#define TBUF_LEN 2048
#define FMT_LEN 1024