# HG changeset patch # User Matthew Wild # Date 1342996893 -3600 # Node ID 4fd6a020d0d8d538af4134218fbeeee547f4ec4b # Parent 07f478b1f7c0154c2a4db6c6ef02f0a096377c89 net.server_select: Remove unused variables and imports diff -r 07f478b1f7c0 -r 4fd6a020d0d8 net/server_select.lua --- a/net/server_select.lua Sun Jul 22 23:39:27 2012 +0100 +++ b/net/server_select.lua Sun Jul 22 23:41:33 2012 +0100 @@ -19,7 +19,6 @@ local log, table_concat = require ("util.logger").init("socket"), table.concat; local out_put = function (...) return log("debug", table_concat{...}); end local out_error = function (...) return log("warn", table_concat{...}); end -local mem_free = collectgarbage ----------------------------------// DECLARATION //-- @@ -34,7 +33,6 @@ local ipairs = use "ipairs" local tonumber = use "tonumber" local tostring = use "tostring" -local collectgarbage = use "collectgarbage" --// lua libs //-- @@ -49,7 +47,6 @@ local math_min = math.min local math_huge = math.huge local table_concat = table.concat -local table_remove = table.remove local string_len = string.len local string_sub = string.sub local coroutine_wrap = coroutine.wrap @@ -67,7 +64,6 @@ local socket_bind = luasocket.bind local socket_sleep = luasocket.sleep local socket_select = luasocket.select -local ssl_newcontext = ( luasec and luasec.newcontext ) --// functions //-- @@ -84,7 +80,6 @@ local closesocket local removesocket local removeserver -local changetimeout local wrapconnection local changesettings