diff options
author | Anton Shestakov <av6@dwimlabs.net> | 2016-07-28 15:39:48 +0800 |
---|---|---|
committer | Anton Shestakov <av6@dwimlabs.net> | 2016-07-28 15:39:48 +0800 |
commit | 5543c03c4b916a10a0223804208e0883bef3a6cf (patch) | |
tree | b123208ff44ce7b8dd226c6355cf0c9e18bb7981 /net | |
parent | 4653e9d8abef1988be18dc43955a0d2d134c09c6 (diff) | |
download | prosody-5543c03c4b916a10a0223804208e0883bef3a6cf.tar.gz prosody-5543c03c4b916a10a0223804208e0883bef3a6cf.zip |
net.dns: remove unused variable unpack [luacheck]
Diffstat (limited to 'net')
-rw-r--r-- | net/dns.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dns.lua b/net/dns.lua index 7bdb9e57..232e9e7c 100644 --- a/net/dns.lua +++ b/net/dns.lua @@ -22,8 +22,8 @@ local is_windows = (_ and windows) or os.getenv("WINDIR"); local coroutine, io, math, string, table = coroutine, io, math, string, table; -local ipairs, next, pairs, print, setmetatable, tostring, assert, error, select, type, unpack= - ipairs, next, pairs, print, setmetatable, tostring, assert, error, select, type, table.unpack or unpack; +local ipairs, next, pairs, print, setmetatable, tostring, assert, error, select, type = + ipairs, next, pairs, print, setmetatable, tostring, assert, error, select, type; local ztact = { -- public domain 20080404 lua@ztact.com get = function(parent, ...) |