X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=pack-redundant.c;h=f5cd0ac59e5794a375172b998399a546eaef4ab1;hb=55029ae4dac07942437c0c715ea7c8ac60dd3576;hp=6bc3bdf3f4c33f369c63acf9284ce9af18286184;hpb=d44c782bbd6b0e806e056f9e8ff8cd8e426e67a3;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; }