Add missing 'local' keyword on internal helper functions to prevent overwriting

This commit is contained in:
Jason Perkins 2013-11-26 17:37:21 -05:00
parent 446090b6d8
commit 082dc318e4

View File

@ -268,7 +268,7 @@
end
end
function recurse(value)
local function recurse(value)
if type(value) == "table" then
table.foreachi(value, function(v)
recurse(v)
@ -558,7 +558,7 @@
-- process all of the values, according to the data type
local result = {}
function recurse(value)
local function recurse(value)
if type(value) == "table" then
table.foreachi(value, function (value)
recurse(value)