Skip to content

Commit 5337dad

Browse files
Ethan0456gitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 67e7305 commit 5337dad

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

dir.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ struct repository;
4343
*
4444
*/
4545

46-
struct repository;
4746

4847
struct dir_entry {
4948
unsigned int len;

0 commit comments

Comments
 (0)