Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/nvi/dist/ip remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/d712e2f31ed3
branches:  trunk
changeset: 324995:d712e2f31ed3
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Nov 29 15:24:08 2013 +0000

description:
remove unused variable

diffstat:

 external/bsd/nvi/dist/ip/ip_read.c |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r 94899ce8c37e -r d712e2f31ed3 external/bsd/nvi/dist/ip/ip_read.c
--- a/external/bsd/nvi/dist/ip/ip_read.c        Fri Nov 29 14:58:55 2013 +0000
+++ b/external/bsd/nvi/dist/ip/ip_read.c        Fri Nov 29 15:24:08 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_read.c,v 1.5 2013/11/27 20:44:56 christos Exp $     */
+/*     $NetBSD: ip_read.c,v 1.6 2013/11/29 15:24:08 christos Exp $     */
 /*-
  * Copyright (c) 1996
  *     Keith Bostic.  All rights reserved.
@@ -207,7 +207,6 @@
 static input_t
 ip_read(SCR *sp, IP_PRIVATE *ipp, struct timeval *tp, int termread, int *nr)
 {
-       struct timeval poll;
        GS *gp;
        fd_set rdfd;
        input_t rval;
@@ -228,8 +227,6 @@
         *    a map sequence.  If input exists, we fall into #2.
         */
        FD_ZERO(&rdfd);
-       poll.tv_sec = 0;
-       poll.tv_usec = 0;
        if (tp != NULL) {
                FD_SET(fd, &rdfd);
                switch (select(fd + 1, &rdfd, NULL, NULL, tp)) {



Home | Main Index | Thread Index | Old Index