Make pack_objects void.
Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
David Rientjes committed
Aug 14, 2006 at 13:38 UTC
aa145403da905aaa9f129b0f13b5bca7994cb329
1 file changed
+1
-2
send-pack.c
+1
-2
@@ -111,7 +111,7 @@ static void rev_list(int fd, struct ref *refs)
111
exec_rev_list(refs);
112
}
113
114
-static int pack_objects(int fd, struct ref *refs)
114
+static void pack_objects(int fd, struct ref *refs)
115
{
116
pid_t rev_list_pid;
117
@@ -126,7 +126,6 @@ static int pack_objects(int fd, struct ref *refs)
126
* We don't wait for the rev-list pipeline in the parent:
127
* we end up waiting for the other end instead
128
*/
129
- return 0;
129
}
130
131
static void unmark_and_free(struct commit_list *list, unsigned int mark)