From 8cf3d98fe9933a1a684a60862f94d8087a992772 Mon Sep 17 00:00:00 2001 From: nnposter Date: Sat, 17 Dec 2016 21:22:02 +0000 Subject: [PATCH] Removes unused local variable --- nselib/stdnse.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nselib/stdnse.lua b/nselib/stdnse.lua index 0e6f8bc5c..2d60c3268 100644 --- a/nselib/stdnse.lua +++ b/nselib/stdnse.lua @@ -221,7 +221,7 @@ function strsplit(pattern, text) assert(pattern ~= "", "delimiter matches empty string!"); while true do - local first, last, match = text:find(pattern, pos); + local first, last = text:find(pattern, pos); if first then -- found? list[#list+1] = text:sub(pos, first-1); pos = last+1;