From a66c8c7f91b13ba56e734fe95ab8ad5e61ad6b45 Mon Sep 17 00:00:00 2001 From: K Jayatheerth Date: Mon, 23 Feb 2026 19:22:48 +0530 Subject: [PATCH] repo: remove unnecessary variable shadow Avoid redeclaring `entry` inside the conditional block, removing unnecessary variable shadowing and improving code clarity without changing behavior. Signed-off-by: K Jayatheerth Acked-by: Justin Tobler Signed-off-by: Junio C Hamano --- builtin/repo.c | 1 - 1 file changed, 1 deletion(-) diff --git a/builtin/repo.c b/builtin/repo.c index e77e8db563..e952778bbf 100644 --- a/builtin/repo.c +++ b/builtin/repo.c @@ -276,7 +276,6 @@ static void stats_table_print_structure(const struct stats_table *table) const char *value = ""; if (entry) { - struct stats_table_entry *entry = item->util; value = entry->value; }