From 0689acd048383dad2a7eeb161a5c51b2007241ce Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Sun, 8 Sep 2013 18:33:37 +0200 Subject: [PATCH] remove dead store --- pdns/nameserver.cc | 2 -- 1 file changed, 2 deletions(-) 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<