From: Kees Monshouwer Date: Tue, 7 Jan 2014 18:44:43 +0000 (+0100) Subject: remove unused variable in doIXFR X-Git-Tag: rec-3.6.0-rc1~256^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4936d41ffae0a9f367f24451fd967acffd2d96e;p=pdns remove unused variable in doIXFR --- 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()<