Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-commit: initialize TMP_INDEX just to be sure.
[gitweb.git]
/
pack-redundant.c
diff --git
a/pack-redundant.c
b/pack-redundant.c
index 6bc3bdf3f4c33f369c63acf9284ce9af18286184..f5cd0ac59e5794a375172b998399a546eaef4ab1 100644
(file)
--- a/
pack-redundant.c
+++ b/
pack-redundant.c
@@
-81,7
+81,7
@@
static struct llist * llist_copy(struct llist *list)
{
struct llist *ret;
struct llist_item *new, *old, *prev;
-
+
llist_init(&ret);
if ((ret->size = list->size) == 0)
@@
-100,7
+100,7
@@
static struct llist * llist_copy(struct llist *list)
}
new->next = NULL;
ret->back = new;
-
+
return ret;
}