removed unused loop variable index

This commit is contained in:
Abouzar Parvan 2021-07-25 11:36:46 +00:00 committed by GitHub
parent 229720a1f6
commit c94aac07cd
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,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