Remove redundant assignment
Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
This commit is contained in:
parent
afced71a9a
commit
e7d55567a6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue