Diff

net/dns.lua @ 7527:936b78e9f399

net.dns: remove unused variable unpack [luacheck]
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 28 Jul 2016 15:39:48 +0800
parent 7500:4c519444d4a2
child 8154:6300394bb713
line wrap: on
line diff
--- 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, ...)