src/linked_list.c

changeset 950
37e7f92de46b
parent 926
8fdd8d78c14b
child 962
cd418898af5c
--- a/src/linked_list.c	Tue Oct 29 16:08:37 2024 +0100
+++ b/src/linked_list.c	Tue Oct 29 16:47:19 2024 +0100
@@ -840,7 +840,7 @@
         left = j;
         right = i;
     }
-    cx_linked_list_node *nleft, *nright;
+    cx_linked_list_node *nleft = NULL, *nright = NULL;
     if (left < mid && right < mid) {
         // case 1: both items left from mid
         nleft = cx_ll_node_at(ll, left);

mercurial