Diff

net/dns.lua @ 3059:21f7a216d955

net.dns: Remove redundant locals declaration
author Matthew Wild <mwild1@gmail.com>
date Thu, 20 May 2010 10:46:08 +0100
parent 3058:c425c5b45186
child 3324:070c8ba71b76
line wrap: on
line diff
--- a/net/dns.lua	Thu May 20 10:45:29 2010 +0100
+++ b/net/dns.lua	Thu May 20 10:46:08 2010 +0100
@@ -853,7 +853,6 @@
 	self:query (qname, qtype, qclass)
 	while self:pulse() do
            local recvt = {}
-           local i, s
            for i, s in ipairs(self.socket) do
               recvt[i] = s
            end