From: Christian Hofstaedtler Date: Sun, 8 Sep 2013 16:33:37 +0000 (+0200) Subject: remove dead store X-Git-Tag: rec-3.6.0-rc1~451^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1004%2Fhead;p=thirdparty%2Fpdns.git remove dead store --- diff --git a/pdns/nameserver.cc b/pdns/nameserver.cc index 5efebba657..1729e9e9ed 100644 --- a/pdns/nameserver.cc +++ b/pdns/nameserver.cc @@ -409,8 +409,6 @@ DNSPacket *UDPNameserver::receive(DNSPacket *prefilled) BOOST_FOREACH(struct pollfd &pfd, rfds) { if(pfd.revents & POLLIN) { sock=pfd.fd; - len=0; - if((len=recvmsg(sock, &msgh, 0)) < 0 ) { if(errno != EAGAIN) L<