net.dns: remove unused variable unpack [luacheck]
authorAnton Shestakov <av6@dwimlabs.net>
Thu, 28 Jul 2016 15:39:48 +0800
changeset 7530 936b78e9f399
parent 7529 71ef4a4104d3
child 7531 50365a496890
net.dns: remove unused variable unpack [luacheck]
net/dns.lua
--- a/net/dns.lua	Thu Jul 28 16:14:39 2016 +0800
+++ b/net/dns.lua	Thu Jul 28 15:39:48 2016 +0800
@@ -22,8 +22,8 @@
 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, ...)