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
|
-- @staticfct gears.table.count_keys
|
||||||
function gtable.count_keys(t)
|
function gtable.count_keys(t)
|
||||||
local count = 0
|
local count = 0
|
||||||
for _, _ in pairs(t) do
|
for _ in pairs(t) do
|
||||||
count = count + 1
|
count = count + 1
|
||||||
end
|
end
|
||||||
return count
|
return count
|
||||||
|
|
Loading…
Reference in New Issue