X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=pack-redundant.c;h=f5cd0ac59e5794a375172b998399a546eaef4ab1;hb=9d3014566302ad0d3d378b0a1653959b3118066d;hp=6bc3bdf3f4c33f369c63acf9284ce9af18286184;hpb=1a8b76912e6ccef6bec3531eec30a0693bc25ae7;p=git.git diff --git a/pack-redundant.c b/pack-redundant.c index 6bc3bdf3f..f5cd0ac59 100644 --- 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; }