Software /
code /
prosody
Comparison
net/adns.lua @ 7475:ee878fa78b8b
net.adns: remove unused local variables t_insert and t_remove [luacheck]
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 09 Jul 2016 00:58:16 +0800 |
parent | 6780:647adfd8f738 |
child | 8266:9a97dd174ec9 |
comparison
equal
deleted
inserted
replaced
7474:701989ab904f | 7475:ee878fa78b8b |
---|---|
9 local server = require "net.server"; | 9 local server = require "net.server"; |
10 local dns = require "net.dns"; | 10 local dns = require "net.dns"; |
11 | 11 |
12 local log = require "util.logger".init("adns"); | 12 local log = require "util.logger".init("adns"); |
13 | 13 |
14 local t_insert, t_remove = table.insert, table.remove; | |
15 local coroutine, tostring, pcall = coroutine, tostring, pcall; | 14 local coroutine, tostring, pcall = coroutine, tostring, pcall; |
16 | 15 |
17 local function dummy_send(sock, data, i, j) return (j-i)+1; end | 16 local function dummy_send(sock, data, i, j) return (j-i)+1; end |
18 | 17 |
19 local _ENV = nil; | 18 local _ENV = nil; |