From: Peter van Dijk Date: Wed, 13 Jul 2016 09:11:12 +0000 (+0200) Subject: drop unused variable X-Git-Tag: auth-4.0.1~40^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4166%2Fhead;p=thirdparty%2Fpdns.git drop unused variable --- diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index 416db2bc1c..ff2d75405f 100644 --- a/pdns/tcpreceiver.cc +++ b/pdns/tcpreceiver.cc @@ -66,7 +66,6 @@ extern StatBag S; pthread_mutex_t TCPNameserver::s_plock = PTHREAD_MUTEX_INITIALIZER; Semaphore *TCPNameserver::d_connectionroom_sem; PacketHandler *TCPNameserver::s_P; -int TCPNameserver::s_timeout; NetmaskGroup TCPNameserver::d_ng; void TCPNameserver::go() @@ -1160,7 +1159,6 @@ TCPNameserver::TCPNameserver() // sem_init(&d_connectionroom_sem,0,::arg().asNum("max-tcp-connections")); d_connectionroom_sem = new Semaphore( ::arg().asNum( "max-tcp-connections" )); d_tid=0; - s_timeout=10; vectorlocals; stringtok(locals,::arg()["local-address"]," ,"); diff --git a/pdns/tcpreceiver.hh b/pdns/tcpreceiver.hh index a8d0303ed6..bf407af5c6 100644 --- a/pdns/tcpreceiver.hh +++ b/pdns/tcpreceiver.hh @@ -66,7 +66,6 @@ private: vectord_sockets; vector d_prfds; - static int s_timeout; }; #endif /* PDNS_TCPRECEIVER_HH */