util.set: Remove unnecessary local declaration, arguments are already locals [luacheck]

This commit is contained in:
Matthew Wild 2015-05-06 19:50:40 +01:00
parent d0741cdda2
commit f1085b6ceb

View file

@ -34,7 +34,7 @@ function set_mt.__div(set, func)
return new_set;
end
function set_mt.__eq(set1, set2)
local set1, set2 = set1._items, set2._items;
set1, set2 = set1._items, set2._items;
for item in pairs(set1) do
if not set2[item] then
return false;