aboutsummaryrefslogtreecommitdiffstats
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
commit13a0eeca1affbd261616ea2ef8d360d71c3e537d (patch)
tree1809fac6364b9b89bbad13d46311ee23058ecfe9
parent31bbce98bde53e453c551e99f3f1e368faa44ec1 (diff)
downloadprosody-13a0eeca1affbd261616ea2ef8d360d71c3e537d.tar.gz
prosody-13a0eeca1affbd261616ea2ef8d360d71c3e537d.zip
util.set: Remove unnecessary local declaration, arguments are already locals [luacheck]
-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;