From 004a55903943f153a58cc463f134dde235cf495b Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Wed, 13 Jul 2016 11:11:12 +0200 Subject: [PATCH] drop unused variable --- pdns/tcpreceiver.cc | 2 -- pdns/tcpreceiver.hh | 1 - 2 files changed, 3 deletions(-) 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 */ -- 2.47.2