From: Ruben Kerkhof Date: Mon, 14 Jul 2014 14:09:04 +0000 (+0200) Subject: Remove a few unused variables X-Git-Tag: auth-3.4.0-rc1~73^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1511%2Fhead;p=thirdparty%2Fpdns.git Remove a few unused variables --- diff --git a/pdns/dnswriter.cc b/pdns/dnswriter.cc index 5c61719319..594e616ce5 100644 --- a/pdns/dnswriter.cc +++ b/pdns/dnswriter.cc @@ -5,7 +5,7 @@ #include DNSPacketWriter::DNSPacketWriter(vector& content, const string& qname, uint16_t qtype, uint16_t qclass, uint8_t opcode) - : d_pos(0), d_content(content), d_qname(qname), d_qtype(qtype), d_qclass(qclass), d_canonic(false), d_lowerCase(false) + : d_pos(0), d_content(content), d_qname(qname), d_canonic(false), d_lowerCase(false) { d_content.clear(); dnsheader dnsheader; diff --git a/pdns/dnswriter.hh b/pdns/dnswriter.hh index 1ea68a9e77..fb39c124c8 100644 --- a/pdns/dnswriter.hh +++ b/pdns/dnswriter.hh @@ -116,7 +116,6 @@ private: vector & d_content; vector d_record; string d_qname; - uint16_t d_qtype, d_qclass; string d_recordqname; uint16_t d_recordqtype, d_recordqclass; uint32_t d_recordttl; diff --git a/pdns/dynlistener.hh b/pdns/dynlistener.hh index 1c3dc834b3..421751d897 100644 --- a/pdns/dynlistener.hh +++ b/pdns/dynlistener.hh @@ -65,7 +65,6 @@ private: void listenOnTCP(const ComboAddress&); void createSocketAndBind(int family, struct sockaddr*local, size_t len); - Utility::socklen_t d_addrlen; NetmaskGroup d_tcprange; int d_s; int d_client; diff --git a/pdns/resolver.hh b/pdns/resolver.hh index d74c03df97..28fdb12a1b 100644 --- a/pdns/resolver.hh +++ b/pdns/resolver.hh @@ -75,8 +75,6 @@ public: private: std::map locals; - - uint16_t d_randomid; }; class AXFRRetriever : public boost::noncopyable