From d7702be1e1c003a9a26ab60bb302c32b398e033d Mon Sep 17 00:00:00 2001 From: Ramsay Jones Date: Sat, 18 Oct 2014 22:36:12 +0100 Subject: revision: remove definition of unused 'add_object' function Signed-off-by: Ramsay Jones Signed-off-by: Junio C Hamano --- revision.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'revision.c') diff --git a/revision.c b/revision.c index a2337f8ff9..75dda928ea 100644 --- a/revision.c +++ b/revision.c @@ -87,16 +87,6 @@ void show_object_with_name(FILE *out, struct object *obj, fputc('\n', out); } -void add_object(struct object *obj, - struct object_array *p, - struct name_path *path, - const char *name) -{ - char *pn = path_name(path, name); - add_object_array(obj, pn, p); - free(pn); -} - static void mark_blob_uninteresting(struct blob *blob) { if (!blob) -- cgit v1.2.1