]> granicus.if.org Git - pdns/commitdiff
drop unused parameter
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Tue, 10 Sep 2013 09:47:33 +0000 (11:47 +0200)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Tue, 10 Sep 2013 09:47:33 +0000 (11:47 +0200)
pdns/backends/bind/bindbackend2.cc
pdns/backends/bind/bindbackend2.hh

index 363cfcf32dc46cf930b46f02c18fe0f57f0420cf..b1135865c9e77288313d4bbd1c019ffb092f54cd 100644 (file)
@@ -409,7 +409,7 @@ static string canonic(string ret)
   return ret;
 }
 
-void Bind2Backend::parseZoneFile(shared_ptr<State> staging, BB2DomainInfo *bbd, bool loaded)
+void Bind2Backend::parseZoneFile(shared_ptr<State> staging, BB2DomainInfo *bbd)
 {
   NSEC3PARAMRecordContent ns3pr;
   bool nsec3zone=getNSEC3PARAM(bbd->d_name, &ns3pr);
@@ -434,7 +434,7 @@ void Bind2Backend::parseZoneFile(shared_ptr<State> staging, BB2DomainInfo *bbd,
   doEmptyNonTerminals(staging, bbd->d_id, nsec3zone, ns3pr);
 
   bbd->setCtime();
-  bbd->d_loaded=loaded
+  bbd->d_loaded=true
   bbd->d_status="parsed into memory at "+nowTime();
 }
 
index aaefa2f73031337296c3c30b45c172680bf2cc65..eec929444cb0bc199af98fcab416597c0e924ea9 100644 (file)
@@ -173,7 +173,7 @@ public:
     id_zone_map_t id_zone_map;
   };
 
-  void parseZoneFile(shared_ptr<State> staging, BB2DomainInfo *bbd, bool loaded=true);
+  void parseZoneFile(shared_ptr<State> staging, BB2DomainInfo *bbd);
   static void insert(shared_ptr<State> stage, int id, const string &qname, const QType &qtype, const string &content, int ttl=300, int prio=25, const std::string& hashed=string());
   void rediscover(string *status=0);