Module Name: src
Committed By: christos
Date: Thu Jan 10 13:53:58 UTC 2019
Modified Files:
src/lib/libwrap: diag.c
Log Message:
delete unused variable
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/lib/libwrap/diag.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libwrap/diag.c
diff -u src/lib/libwrap/diag.c:1.12 src/lib/libwrap/diag.c:1.13
--- src/lib/libwrap/diag.c:1.12 Thu Jan 10 08:53:26 2019
+++ src/lib/libwrap/diag.c Thu Jan 10 08:53:58 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: diag.c,v 1.12 2019/01/10 13:53:26 christos Exp $ */
+/* $NetBSD: diag.c,v 1.13 2019/01/10 13:53:58 christos Exp $ */
/*
* Routines to report various classes of problems. Each report is decorated
@@ -16,7 +16,7 @@
#if 0
static char sccsid[] = "@(#) diag.c 1.1 94/12/28 17:42:20";
#else
-__RCSID("$NetBSD: diag.c,v 1.12 2019/01/10 13:53:26 christos Exp $");
+__RCSID("$NetBSD: diag.c,v 1.13 2019/01/10 13:53:58 christos Exp $");
#endif
#endif
@@ -59,8 +59,6 @@ tcpd_diag(int severity, const char *tag,
if (vasprintf(&buf2, buf, ap) == -1)
buf2 = buf;
- errno = oerrno;
-
/* contruct the tag for the log entry */
if (tcpd_context.file)
syslog(severity, "%s: %s, line %d: %s",