# HG changeset patch # User Matthew Wild # Date 1340579768 -3600 # Node ID b3fe52353295cf79a57a8ccb47602744fd3720b1 # Parent 92c86e11fd44b9ea9902c85cc8317ebe73b082e4 util.logger: Remove some redundant code diff -r 92c86e11fd44 -r b3fe52353295 util/logger.lua --- a/util/logger.lua Thu Jul 05 17:58:47 2012 +0200 +++ b/util/logger.lua Mon Jun 25 00:16:08 2012 +0100 @@ -23,8 +23,6 @@ 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, ...);