@matheusbsbs / matheus-bagliano / commits / 18d1e701b7
Fork 0

struct tree: remove unused field "parent"

The field is not used anymore, after the recent ls-tree rewrite. Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Dec 4, 2005 at 21:13 UTC 18d1e701b70014d37a2715ccce0791114587709e
2 files changed -2
tree.c
-1
@@ -200,7 +200,6 @@ int parse_tree_buffer(struct tree *item, void *buffer, unsigned long size)
200 }
201 if (obj)
202 n_refs++;
203 - entry->parent = NULL; /* needs to be filled by the user */
203 *list_p = entry;
204 list_p = &entry->next;
205 }
tree.h
-1
@@ -18,7 +18,6 @@ struct tree_entry_list {
18 struct tree *tree;
19 struct blob *blob;
20 } item;
21 - struct tree_entry_list *parent;
21 };
22
23 struct tree {