]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
drop unused variable 4166/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 13 Jul 2016 09:11:12 +0000 (11:11 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Wed, 13 Jul 2016 09:11:12 +0000 (11:11 +0200)
pdns/tcpreceiver.cc
pdns/tcpreceiver.hh

index 416db2bc1c4f9b7385075c1d8e9f4f58747eedb6..ff2d75405fa2d7566642e8a4f9da1e44c009e679 100644 (file)
@@ -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;
   vector<string>locals;
   stringtok(locals,::arg()["local-address"]," ,");
 
index a8d0303ed6be392e366b2fb029ee6cc5792e5419..bf407af5c6c25b37ed123292b060fff56ac98cf1 100644 (file)
@@ -66,7 +66,6 @@ private:
 
   vector<int>d_sockets;
   vector<struct pollfd> d_prfds;
-  static int s_timeout;
 };
 
 #endif /* PDNS_TCPRECEIVER_HH */