mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Removes unused local variable
This commit is contained in:
parent
7a865e8b74
commit
8cf3d98fe9
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue