From ee4541c4d82667b8f9bb67606f9dabde45eec2d2 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 5 Feb 2016 00:10:27 +0000 Subject: moduleapi: Silence luacheck warning about unused 'id' parameter --- core/moduleapi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/moduleapi.lua b/core/moduleapi.lua index ff68a15c..14e5771b 100644 --- a/core/moduleapi.lua +++ b/core/moduleapi.lua @@ -399,7 +399,7 @@ function timer_methods:reschedule(delay) timer.reschedule(self.id, delay) end -local function timer_callback(now, id, t) +local function timer_callback(now, id, t) --luacheck: ignore 212/id if t.module_env.loaded == false then return; end return t.callback(now, unpack(t, 1, t.n)); end -- cgit v1.2.3