From e7d55567a6f0d44b3e8b5c4b6b11bf74f2149355 Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Sat, 27 Mar 2021 14:08:47 +0100 Subject: [PATCH] Remove redundant assignment Signed-off-by: Lucas Schwiderski --- lib/gears/table.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gears/table.lua b/lib/gears/table.lua index e1744f28..301f6848 100644 --- a/lib/gears/table.lua +++ b/lib/gears/table.lua @@ -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