threads / patch / 5274

patch, 28 partsmakes pack_objects void

Subject: [PATCH 25/28] makes pack_objects void

## tl;dr

One message between Aug 14, 2006 and Aug 14, 2006. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

David Rientjes· Aug 14, 2006, 20:38 UTC · lore
Makes pack_objects void.
		David
Signed-off-by: David Rientjes <rientjes@google.com>
---
 send-pack.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
Show changes to send-pack.c +1 −2
diff --git a/send-pack.c b/send-pack.c
index 10bc8bc..b7cc1a9 100644
--- a/send-pack.c
+++ b/send-pack.c
@@ -111,7 +111,7 @@ static void rev_list(int fd, struct ref 
 	exec_rev_list(refs);
 }
 
-static int pack_objects(int fd, struct ref *refs)
+static void pack_objects(int fd, struct ref *refs)
 {
 	pid_t rev_list_pid;
 
@@ -126,7 +126,6 @@ static int pack_objects(int fd, struct r
 	 * We don't wait for the rev-list pipeline in the parent:
 	 * we end up waiting for the other end instead
 	 */
-	return 0;
 }
 
 static void unmark_and_free(struct commit_list *list, unsigned int mark)
-- 
1.4.2.g89bb-dirty

← back to recent threads