mirror of
https://github.com/git/git.git
synced 2024-12-03 23:14:23 +08:00
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>
This commit is contained in:
parent
f83df6d66e
commit
18d1e701b7
1
tree.c
1
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user