Automated merge

Tue, 28 Sep 2021 18:09:25 +0200

author
Mike Becker <universe@uap-core.de>
date
Tue, 28 Sep 2021 18:09:25 +0200
changeset 445
26ae21face39
parent 441
7d5a06e32aa8 (diff)
parent 444
cb944fa1852a (current diff)
child 446
668757098b73

Automated merge

--- a/src/linked_list.c	Tue Sep 28 18:07:05 2021 +0200
+++ b/src/linked_list.c	Tue Sep 28 18:09:25 2021 +0200
@@ -203,14 +203,14 @@
     list->base.cmpfunc = comparator;
     list->base.itemsize = item_size;
     list->base.capacity = SIZE_MAX;
+    list->base.size = 0;
 
     list->begin = NULL;
+    list->end = NULL;
     list->loc_prev = CX_LL_LOC_PREV;
     list->loc_next = CX_LL_LOC_NEXT;
 
-    CxList result = (CxList) list;
-    cxLinkedListRecalculateSize(result);
-    return result;
+    return (CxList) list;
 }
 
 void cxLinkedListDestroy(CxList list) {

mercurial