提交 18d1e701 编写于 作者: J Junio C Hamano

struct tree: remove unused field "parent"

The field is not used anymore, after the recent ls-tree rewrite.
Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 f83df6d6
......@@ -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;
}
......
......@@ -18,7 +18,6 @@ struct tree_entry_list {
struct tree *tree;
struct blob *blob;
} item;
struct tree_entry_list *parent;
};
struct tree {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册