]> granicus.if.org Git - pdns/commitdiff
Remove a few unused variables
authorRuben Kerkhof <ruben@tilaa.com>
Mon, 14 Jul 2014 14:09:04 +0000 (16:09 +0200)
committerRuben Kerkhof <ruben@tilaa.com>
Mon, 14 Jul 2014 14:09:04 +0000 (16:09 +0200)
pdns/dnswriter.cc
pdns/dnswriter.hh
pdns/dynlistener.hh
pdns/resolver.hh

index 5c6171931954f7ac087f6cf4ebdb518da8fa327e..594e616ce540fc793fa9ac2bd4ddac5429b353f8 100644 (file)
@@ -5,7 +5,7 @@
 #include <limits.h>
 
 DNSPacketWriter::DNSPacketWriter(vector<uint8_t>& 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;
index 1ea68a9e772974e3736cb41a000af795e92f0a56..fb39c124c881ce273df883c4fd8e3c88f103b8b0 100644 (file)
@@ -116,7 +116,6 @@ private:
   vector <uint8_t>& d_content;
   vector <uint8_t> d_record;
   string d_qname;
-  uint16_t d_qtype, d_qclass;
   string d_recordqname;
   uint16_t d_recordqtype, d_recordqclass;
   uint32_t d_recordttl;
index 1c3dc834b31427cded615beef7d41c2e7af84a3b..421751d89713f6438ba970ff639a45eec7d612b4 100644 (file)
@@ -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;
index d74c03df978d93d8cefcd9d05d801247662e3c87..28fdb12a1bf3daac1aa2da14ed2388eb66269e9b 100644 (file)
@@ -75,8 +75,6 @@ public:
   
 private:
   std::map<std::string, int> locals;
-  uint16_t d_randomid;
 };
 
 class AXFRRetriever : public boost::noncopyable