aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-22 23:41:33 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-22 23:41:33 +0100
commit1901905a00b1cfb19383543d78b741cf5c42c351 (patch)
tree0be7cec8a3eaae6159d8f224a1253b5e9d438a38 /net/server_select.lua
parentf6ec86d69006bbcfc3a7d74f68fbc9cbdfc1b97f (diff)
downloadprosody-1901905a00b1cfb19383543d78b741cf5c42c351.tar.gz
prosody-1901905a00b1cfb19383543d78b741cf5c42c351.zip
net.server_select: Remove unused variables and imports
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index 025f145d..9104dace 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -19,7 +19,6 @@ end
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 pairs = use "pairs"
local ipairs = use "ipairs"
local tonumber = use "tonumber"
local tostring = use "tostring"
-local collectgarbage = use "collectgarbage"
--// lua libs //--
@@ -49,7 +47,6 @@ local os_difftime = os.difftime
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 ssl_wrap = ( luasec and luasec.wrap )
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 getsettings
local closesocket
local removesocket
local removeserver
-local changetimeout
local wrapconnection
local changesettings