moduleapi: Silence luacheck warning about unused 'id' parameter
authorMatthew Wild <mwild1@gmail.com>
Fri, 5 Feb 2016 00:10:27 +0000 (00:10 +0000)
committerMatthew Wild <mwild1@gmail.com>
Fri, 5 Feb 2016 00:10:27 +0000 (00:10 +0000)
core/moduleapi.lua

index ff68a15ce420dce6e25dd07e6616cd97e6fe41aa..14e5771b1432940c9966c51990afd5db19936c23 100644 (file)
@@ -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