diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/datetime.lua | 1 | ||||
-rw-r--r-- | util/json.lua | 1 | ||||
-rw-r--r-- | util/prosodyctl.lua | 2 | ||||
-rw-r--r-- | util/rfc6724.lua | 1 |
4 files changed, 1 insertions, 4 deletions
diff --git a/util/datetime.lua b/util/datetime.lua index 27f28ace..abb4e867 100644 --- a/util/datetime.lua +++ b/util/datetime.lua @@ -12,7 +12,6 @@ local os_date = os.date; local os_time = os.time; local os_difftime = os.difftime; -local error = error; local tonumber = tonumber; local _ENV = nil; diff --git a/util/json.lua b/util/json.lua index 2c598446..ec6b67de 100644 --- a/util/json.lua +++ b/util/json.lua @@ -12,7 +12,6 @@ local s_char = string.char; local tostring, tonumber = tostring, tonumber; local pairs, ipairs = pairs, ipairs; local next = next; -local error = error; local getmetatable, setmetatable = getmetatable, setmetatable; local print = print; diff --git a/util/prosodyctl.lua b/util/prosodyctl.lua index f8f28644..207b3763 100644 --- a/util/prosodyctl.lua +++ b/util/prosodyctl.lua @@ -22,7 +22,7 @@ local nodeprep, nameprep = stringprep.nodeprep, stringprep.nameprep; local io, os = io, os; local print = print; -local tostring, tonumber = tostring, tonumber; +local tonumber = tonumber; local CFG_SOURCEDIR = _G.CFG_SOURCEDIR; diff --git a/util/rfc6724.lua b/util/rfc6724.lua index c8aec631..81f78d55 100644 --- a/util/rfc6724.lua +++ b/util/rfc6724.lua @@ -10,7 +10,6 @@ -- We can't hand this off to getaddrinfo, since it blocks local ip_commonPrefixLength = require"util.ip".commonPrefixLength -local new_ip = require"util.ip".new_ip; local function commonPrefixLength(ipA, ipB) local len = ip_commonPrefixLength(ipA, ipB); |