Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libwrap delete unused variable



details:   https://anonhg.NetBSD.org/src/rev/847a3597c6c2
branches:  trunk
changeset: 995929:847a3597c6c2
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Jan 10 13:53:58 2019 +0000

description:
delete unused variable

diffstat:

 lib/libwrap/diag.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r ebff5757f05d -r 847a3597c6c2 lib/libwrap/diag.c
--- a/lib/libwrap/diag.c        Thu Jan 10 13:53:26 2019 +0000
+++ b/lib/libwrap/diag.c        Thu Jan 10 13:53:58 2019 +0000
@@ -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 @@
     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",



Home | Main Index | Thread Index | Old Index