From a4936d41ffae0a9f367f24451fd967acffd2d96e Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Tue, 7 Jan 2014 19:44:43 +0100 Subject: [PATCH] remove unused variable in doIXFR --- pdns/tcpreceiver.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index 0aa570bdf..2bc40f2c3 100644 --- a/pdns/tcpreceiver.cc +++ b/pdns/tcpreceiver.cc @@ -849,12 +849,10 @@ int TCPNameserver::doIXFR(shared_ptr 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<qdomain<<"' denied to "<getRemote()<