aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-07-24 15:50:11 +0100
committerMatthew Wild <mwild1@gmail.com>2012-07-24 15:50:11 +0100
commit882a6b50f2a1ec61bb82ab6e9db054cb0eacb80c (patch)
treedfaa1f41093c9daffe2844f77ef76f06751bc34a
parent735e98a6299ff4d5bb4792694162f2757d391610 (diff)
downloadprosody-882a6b50f2a1ec61bb82ab6e9db054cb0eacb80c.tar.gz
prosody-882a6b50f2a1ec61bb82ab6e9db054cb0eacb80c.zip
loggingmanager: Remove unused variables
-rw-r--r--core/loggingmanager.lua10
1 files changed, 4 insertions, 6 deletions
diff --git a/core/loggingmanager.lua b/core/loggingmanager.lua
index 56a3ee2c..ce25b0e8 100644
--- a/core/loggingmanager.lua
+++ b/core/loggingmanager.lua
@@ -7,14 +7,12 @@
--
-local format, rep = string.format, string.rep;
-local pcall = pcall;
-local debug = debug;
-local tostring, setmetatable, rawset, pairs, ipairs, type =
- tostring, setmetatable, rawset, pairs, ipairs, type;
+local format = string.format;
+local setmetatable, rawset, pairs, ipairs, type =
+ setmetatable, rawset, pairs, ipairs, type;
local io_open, io_write = io.open, io.write;
local math_max, rep = math.max, string.rep;
-local os_date, os_getenv = os.date, os.getenv;
+local os_date = os.date;
local getstyle, setstyle = require "util.termcolours".getstyle, require "util.termcolours".setstyle;
if os.getenv("__FLUSH_LOG") then