Software /
code /
prosody
Diff
util/set.lua @ 5906:071a7e461ae7
util.set: Remove unused variable
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 10 Nov 2013 16:43:10 +0000 |
parent | 5813:c888f548876b |
child | 5908:081a91507e4f |
line wrap: on
line diff
--- a/util/set.lua Sat Nov 09 17:54:21 2013 +0000 +++ b/util/set.lua Sun Nov 10 16:43:10 2013 +0000 @@ -23,7 +23,7 @@ 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);