From: David Rientjes Date: Mon, 14 Aug 2006 20:40:06 +0000 (-0700) Subject: Make track_tree_refs void. X-Git-Tag: v1.4.3-rc1~242 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=74b504f67173a9f4dd06f01d109c58ea13f279b4;p=git.git Make track_tree_refs void. Signed-off-by: David Rientjes Signed-off-by: Junio C Hamano --- diff --git a/tree.c b/tree.c index a6032e35e..ef456be9d 100644 --- a/tree.c +++ b/tree.c @@ -144,7 +144,7 @@ struct tree *lookup_tree(const unsigned char *sha1) return (struct tree *) obj; } -static int track_tree_refs(struct tree *item) +static void track_tree_refs(struct tree *item) { int n_refs = 0, i; struct object_refs *refs; @@ -174,7 +174,6 @@ static int track_tree_refs(struct tree *item) refs->ref[i++] = obj; } set_object_refs(&item->object, refs); - return 0; } int parse_tree_buffer(struct tree *item, void *buffer, unsigned long size)