]> granicus.if.org Git - pdns/commitdiff
remove unused variable in doIXFR
authorKees Monshouwer <mind04@monshouwer.org>
Tue, 7 Jan 2014 18:44:43 +0000 (19:44 +0100)
committermind04 <mind04@monshouwer.org>
Tue, 7 Jan 2014 18:44:43 +0000 (19:44 +0100)
pdns/tcpreceiver.cc

index 0aa570bdfee1fc58a03cba69130f0ea71f2afd4b..2bc40f2c3d50cbb12931784b73dbdaa79c59a614 100644 (file)
@@ -849,12 +849,10 @@ int TCPNameserver::doIXFR(shared_ptr<DNSPacket> q, int outsock)
   DNSSECKeeper dk;
   NSEC3PARAMRecordContent ns3pr;
   bool narrow;
-  bool NSEC3Zone=false;
 
   dk.clearCaches(q->qdomain);
   bool securedZone = dk.isSecuredZone(q->qdomain);
   if(dk.getNSEC3PARAM(q->qdomain, &ns3pr, &narrow)) {
-    NSEC3Zone=true;
     if(narrow) {
       L<<Logger::Error<<"Not doing IXFR of an NSEC3 narrow zone.."<<endl;
       L<<Logger::Error<<"IXFR of domain '"<<q->qdomain<<"' denied to "<<q->getRemote()<<endl;