[Lua] Suppress nodiscard warning
This commit is contained in:
parent
8276fd2e4b
commit
c2f50062d2
1 changed files with 1 additions and 1 deletions
|
@ -588,7 +588,7 @@ function ai_helper.split(str, sep)
|
|||
sep = sep or ","
|
||||
local fields = {}
|
||||
local pattern = string.format("([^%s]+)", sep)
|
||||
string.gsub(str, pattern, function(c) fields[#fields+1] = c end)
|
||||
local _ = string.gsub(str, pattern, function(c) fields[#fields+1] = c end)
|
||||
return fields
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue