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: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1200%2Fhead;p=thirdparty%2Fpdns.git remove unused variable in doIXFR --- diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index 0aa570bdfe..2bc40f2c3d 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()<