[luacheck] fix (W212) unused argument t

This commit is contained in:
Francois Perrad 2016-07-16 15:57:56 +02:00
parent 365445f2c0
commit c1e99c32aa

View File

@ -38,7 +38,7 @@ local map_crops = {
local map_rlwinm = setmetatable({ local map_rlwinm = setmetatable({
shift = 0, mask = -1, shift = 0, mask = -1,
}, },
{ __index = function(t, x) { __index = function(_, x)
local rot = band(rshift(x, 11), 31) local rot = band(rshift(x, 11), 31)
local mb = band(rshift(x, 6), 31) local mb = band(rshift(x, 6), 31)
local me = band(rshift(x, 1), 31) local me = band(rshift(x, 1), 31)
@ -166,7 +166,7 @@ local map_ext = setmetatable({
[539] = "srdRR~R.", [539] = "srdRR~R.",
}, },
{ __index = function(t, x) { __index = function(_, x)
if band(x, 31) == 15 then return "iselRRRC" end if band(x, 31) == 15 then return "iselRRRC" end
end end
}) })