From 6aadf43375e06187ccd7d2a3f20aff5bdb9383fb Mon Sep 17 00:00:00 2001 From: Anton Shestakov Date: Thu, 28 Jul 2016 16:14:39 +0800 Subject: net.server_select: remove unused import [luacheck] --- net/server_select.lua | 1 - 1 file changed, 1 deletion(-) (limited to 'net') diff --git a/net/server_select.lua b/net/server_select.lua index ce5cb3de..02839062 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -31,7 +31,6 @@ local tostring = use "tostring" --// lua libs //-- -local os = use "os" local table = use "table" local string = use "string" local coroutine = use "coroutine" -- cgit v1.2.3 From 6d713ae28841ce55151f5424af72e1b2ddfea94e Mon Sep 17 00:00:00 2001 From: Anton Shestakov Date: Thu, 28 Jul 2016 15:39:48 +0800 Subject: net.dns: remove unused variable unpack [luacheck] --- net/dns.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net') 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, ...) -- cgit v1.2.3