From ce1daa8135078c21379063f657fdb78a094a5642 Mon Sep 17 00:00:00 2001 From: dmiller Date: Sat, 18 Jun 2016 17:29:42 +0000 Subject: [PATCH] Fix a reference to an unset global 'unpack' --- nselib/slaxml.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/slaxml.lua b/nselib/slaxml.lua index 9073f5837..f4ea7f35f 100644 --- a/nselib/slaxml.lua +++ b/nselib/slaxml.lua @@ -201,7 +201,7 @@ parser = { -- Cache references for maximum speed local find, sub, gsub, char, push, pop, concat = string.find, string.sub, string.gsub, string.char, table.insert, table.remove, table.concat local first, last, match1, match2, match3, pos2, nsURI - local unpack = unpack or table.unpack + local unpack = table.unpack local pos = 1 local state = "text" local textStart = 1