diff -r 5012728b9e91 -r 25108c15e2d4 src/tree.c --- 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) {