From: Junio C Hamano Date: Mon, 5 Dec 2005 05:13:57 +0000 (-0800) Subject: struct tree: remove unused field "parent" X-Git-Tag: v0.99.9m^2~79 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=18d1e701b70014d37a2715ccce0791114587709e;p=git.git struct tree: remove unused field "parent" The field is not used anymore, after the recent ls-tree rewrite. Signed-off-by: Junio C Hamano --- diff --git a/tree.c b/tree.c index 043f03215..e7a7b7190 100644 --- a/tree.c +++ b/tree.c @@ -200,7 +200,6 @@ int parse_tree_buffer(struct tree *item, void *buffer, unsigned long size) } if (obj) n_refs++; - entry->parent = NULL; /* needs to be filled by the user */ *list_p = entry; list_p = &entry->next; } diff --git a/tree.h b/tree.h index 768e5e9eb..57a5bf71f 100644 --- a/tree.h +++ b/tree.h @@ -18,7 +18,6 @@ struct tree_entry_list { struct tree *tree; struct blob *blob; } item; - struct tree_entry_list *parent; }; struct tree {