Skip to contentSkip to conversation

Remove unnecessary forward declaration of unpack_entry.

PATCH New Shawn Pearce 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 sha1_file.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
sha1_file.c +0 -3
index bb9fa8b..b1c88de 100644
@@ -1075,9 +1075,6 @@ static int packed_object_info(struct pac
 	return 0;
 }
 
-/* forward declaration for a mutually recursive function */
-static void *unpack_entry(struct pack_entry *, char *, unsigned long *);
-
 static void *unpack_delta_entry(unsigned char *base_sha1,
 				unsigned long delta_size,
 				unsigned long left,
Signature · 1 line
1.4.2.g0dcb