From 5337daddc78605951af39c7f12a9165da3d75462 Mon Sep 17 00:00:00 2001 From: Abhijeetsingh Meena Date: Tue, 11 Mar 2025 14:59:35 +0000 Subject: [PATCH] dir.h: remove duplicate forward declaration of struct repository The `struct repository;` forward declaration appears twice in `dir.h`: once at line 10 and again at line 46. This duplication is unnecessary and likely unintentional. Removing the second declaration has no impact on compilation, as verified by a clean build. Signed-off-by: Abhijeetsingh Meena Signed-off-by: Junio C Hamano --- dir.h | 1 - 1 file changed, 1 deletion(-) diff --git a/dir.h b/dir.h index ad06682fd5..82c249fad9 100644 --- a/dir.h +++ b/dir.h @@ -43,7 +43,6 @@ struct repository; * */ -struct repository; struct dir_entry { unsigned int len; -- 2.47.3