Changeset

6673:b123fcd65d2e

util.set: Remove unnecessary local declaration, arguments are already locals [luacheck]
author Matthew Wild <mwild1@gmail.com>
date Wed, 06 May 2015 19:50:40 +0100
parents 6672:d6a60e74f773
children 6674:a0ce52e11122
files util/set.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/util/set.lua	Wed May 06 19:43:51 2015 +0100
+++ b/util/set.lua	Wed May 06 19:50:40 2015 +0100
@@ -34,7 +34,7 @@
 	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;