From 5dc7e5810d1940de1b90f5451946cc61d165750d Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 4 Feb 2016 16:38:56 +0100 Subject: util.logger: Remove unused locals --- util/logger.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'util/logger.lua') diff --git a/util/logger.lua b/util/logger.lua index 3d1f1c8b..8010e8ad 100644 --- a/util/logger.lua +++ b/util/logger.lua @@ -6,10 +6,7 @@ -- COPYING file in the source package for more information. -- -local pcall = pcall; - -local find = string.find; -local ipairs, pairs, setmetatable = ipairs, pairs, setmetatable; +local pairs = pairs; local _ENV = nil; -- cgit v1.2.3 From e5b1487eeb3f604dc1ea54a83d62e6f81f61b2c1 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 4 Feb 2016 16:40:32 +0100 Subject: util.logger: Silence luacheck warning --- util/logger.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'util/logger.lua') diff --git a/util/logger.lua b/util/logger.lua index 8010e8ad..e72b29bc 100644 --- a/util/logger.lua +++ b/util/logger.lua @@ -5,6 +5,7 @@ -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- +-- luacheck: ignore 213/level local pairs = pairs; -- cgit v1.2.3