projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fa14932
)
net.adns: remove unused local variables t_insert and t_remove [luacheck]
author
Anton Shestakov
<av6@dwimlabs.net>
Fri, 8 Jul 2016 16:58:16 +0000
(
00:58
+0800)
committer
Anton Shestakov
<av6@dwimlabs.net>
Fri, 8 Jul 2016 16:58:16 +0000
(
00:58
+0800)
net/adns.lua
patch
|
blob
|
history
diff --git
a/net/adns.lua
b/net/adns.lua
index d3da2065526e7218afdffce097d2319d5523cd87..0b7247edfaa01a2f6eb494ea3a19ffa84658fb74 100644
(file)
--- a/
net/adns.lua
+++ b/
net/adns.lua
@@
-11,7
+11,6
@@
local dns = require "net.dns";
local log = require "util.logger".init("adns");
local log = require "util.logger".init("adns");
-local t_insert, t_remove = table.insert, table.remove;
local coroutine, tostring, pcall = coroutine, tostring, pcall;
local function dummy_send(sock, data, i, j) return (j-i)+1; end
local coroutine, tostring, pcall = coroutine, tostring, pcall;
local function dummy_send(sock, data, i, j) return (j-i)+1; end