summaryrefslogtreecommitdiff
path: root/tree.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-12-04 21:13:57 -0800
committerJunio C Hamano <junkio@cox.net>2005-12-04 23:19:31 -0800
commit18d1e701b70014d37a2715ccce0791114587709e (patch)
treedf9fc79100d4fb6a605c1fb4841520151d3d290c /tree.c
parentf83df6d66e08f1f68b2c1c6aa2ba8b626990df5f (diff)
downloadgit-18d1e701b70014d37a2715ccce0791114587709e.tar.gz
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>
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tree.c b/tree.c
index 043f032151..e7a7b7190c 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;
}