src/tree.c

changeset 1314
25108c15e2d4
parent 1309
b240b73d2a10
--- a/src/tree.c	Sun May 04 11:30:10 2025 +0200
+++ b/src/tree.c	Sun May 04 11:46:13 2025 +0200
@@ -305,7 +305,7 @@
 
     if (children == NULL) {
         // search for the next node
-        void *next;
+        void *next = NULL;
         cx_tree_iter_search_next:
         // check if there is a sibling, but only if we are not a (subtree-)root
         if (iter->exiting) {

mercurial