ucx/list.c

changeset 23
b26390e77237
parent 22
112b85020dc9
--- a/ucx/list.c	Wed Nov 12 18:37:58 2025 +0100
+++ b/ucx/list.c	Tue Dec 09 12:13:43 2025 +0100
@@ -1030,7 +1030,7 @@
         CxIterator src_iter = cxListIterator(src);
         CxIterator other_iter = cxListIterator(other);
         while (cxIteratorValid(src_iter) || cxIteratorValid(other_iter)) {
-            void *src_elem, *other_elem;
+            void *src_elem = NULL, *other_elem = NULL;
             int d;
             if (!cxIteratorValid(src_iter)) {
                 other_elem = cxIteratorCurrent(other_iter);

mercurial