summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rientjes <rientjes@google.com>2006-08-14 13:40:06 -0700
committerJunio C Hamano <junkio@cox.net>2006-08-14 18:59:03 -0700
commit74b504f67173a9f4dd06f01d109c58ea13f279b4 (patch)
tree176646932e964a1514d277af0f72b71c0769a18b
parentaa145403da905aaa9f129b0f13b5bca7994cb329 (diff)
downloadgit-74b504f67173a9f4dd06f01d109c58ea13f279b4.tar.gz
Make track_tree_refs void.
Signed-off-by: David Rientjes <rientjes@google.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
-rw-r--r--tree.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tree.c b/tree.c
index a6032e35ec..ef456be9dd 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)