removd unused loop variable index

This commit is contained in:
Abouzar Parvan 2021-07-25 11:36:22 +00:00 committed by GitHub
parent 3f824f60b3
commit 229720a1f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -281,7 +281,7 @@ local function is_string(t)
end
local function has_value(tab, val)
for index, value in ipairs(tab) do
for _, value in ipairs(tab) do
if value == val then
return true
end