aboutsummaryrefslogtreecommitdiffstats
path: root/util/set.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-11-10 16:43:10 +0000
committerMatthew Wild <mwild1@gmail.com>2013-11-10 16:43:10 +0000
commit1f85b386d4db322118e4e603a095671b553fb9e9 (patch)
treec2a1db3ffe26c9dfbc8ef82fff0d547952eb52f1 /util/set.lua
parent84ab7c5628a4c0bbb59a22250452c20c3677adc4 (diff)
downloadprosody-1f85b386d4db322118e4e603a095671b553fb9e9.tar.gz
prosody-1f85b386d4db322118e4e603a095671b553fb9e9.zip
util.set: Remove unused variable
Diffstat (limited to 'util/set.lua')
-rw-r--r--util/set.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/set.lua b/util/set.lua
index b9e9ef21..fa065a9c 100644
--- a/util/set.lua
+++ b/util/set.lua
@@ -23,7 +23,7 @@ function set_mt.__sub(set1, set2)
return _M.difference(set1, set2);
end
function set_mt.__div(set, func)
- local new_set, new_items = _M.new();
+ local new_set = _M.new();
local items, new_items = set._items, new_set._items;
for item in pairs(items) do
local new_item = func(item);