aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-05-06 19:50:40 +0100
committerMatthew Wild <mwild1@gmail.com>2015-05-06 19:50:40 +0100
commitf1085b6cebb50e045430c68ef2bcbebcfaeac9cc (patch)
tree1809fac6364b9b89bbad13d46311ee23058ecfe9 /util
parentd0741cdda29b437d96efbfd186c2d2eccf6ebafe (diff)
downloadprosody-f1085b6cebb50e045430c68ef2bcbebcfaeac9cc.tar.gz
prosody-f1085b6cebb50e045430c68ef2bcbebcfaeac9cc.zip
util.set: Remove unnecessary local declaration, arguments are already locals [luacheck]
Diffstat (limited to 'util')
-rw-r--r--util/set.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/set.lua b/util/set.lua
index 04f5f0f4..c160d28e 100644
--- a/util/set.lua
+++ b/util/set.lua
@@ -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;