fix MSVC compilation error default tip

Wed, 19 Nov 2025 19:42:05 +0100

author
Mike Becker <universe@uap-core.de>
date
Wed, 19 Nov 2025 19:42:05 +0100
changeset 1497
cd53fb8703c1
parent 1496
1a982f6f2407

fix MSVC compilation error

src/list.c file | annotate | diff | comparison | revisions
--- a/src/list.c	Tue Nov 18 17:55:49 2025 +0100
+++ b/src/list.c	Wed Nov 19 19:42:05 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