From 538620add408ab838ecd6271ea18f5dafab199a0 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Mon, 25 Jun 2012 00:16:08 +0100 Subject: util.logger: Remove some redundant code --- util/logger.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'util/logger.lua') diff --git a/util/logger.lua b/util/logger.lua index 4fadb4b9..26206d4d 100644 --- a/util/logger.lua +++ b/util/logger.lua @@ -23,8 +23,6 @@ function init(name) local log_warn = make_logger(name, "warn"); local log_error = make_logger(name, "error"); - --name = nil; -- While this line is not commented, will automatically fill in file/line number info - local namelen = #name; return function (level, message, ...) if level == "debug" then return log_debug(message, ...); -- cgit v1.2.3