Remove redundant assignment

Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
This commit is contained in:
Lucas Schwiderski 2021-03-27 14:08:47 +01:00
parent afced71a9a
commit e7d55567a6
No known key found for this signature in database
GPG Key ID: AA12679AAA6DF4D8
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ end
-- @staticfct gears.table.count_keys
function gtable.count_keys(t)
local count = 0
for _, _ in pairs(t) do
for _ in pairs(t) do
count = count + 1
end
return count