Skip to content

Commit 44c1084

Browse files
spearceJunio C Hamano
authored andcommitted
Remove unnecessary forward declaration of unpack_entry.
This declaration probably used to be necessary but the code has been refactored since to use unpack_entry_gently instead. Signed-off-by: Shawn O. Pearce <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent da75601 commit 44c1084

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

sha1_file.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,9 +1057,6 @@ static int packed_object_info(struct pack_entry *entry,
10571057
return 0;
10581058
}
10591059

1060-
/* forward declaration for a mutually recursive function */
1061-
static void *unpack_entry(struct pack_entry *, char *, unsigned long *);
1062-
10631060
static void *unpack_delta_entry(unsigned char *base_sha1,
10641061
unsigned long delta_size,
10651062
unsigned long left,

0 commit comments

Comments
 (0)