src/tree.c

changeset 1314
25108c15e2d4
parent 1309
b240b73d2a10
child 1318
12fa1d37fe48
equal deleted inserted replaced
1313:5012728b9e91 1314:25108c15e2d4
303 } 303 }
304 } 304 }
305 305
306 if (children == NULL) { 306 if (children == NULL) {
307 // search for the next node 307 // search for the next node
308 void *next; 308 void *next = NULL;
309 cx_tree_iter_search_next: 309 cx_tree_iter_search_next:
310 // check if there is a sibling, but only if we are not a (subtree-)root 310 // check if there is a sibling, but only if we are not a (subtree-)root
311 if (iter->exiting) { 311 if (iter->exiting) {
312 next = iter->node_next; 312 next = iter->node_next;
313 } else if (iter->depth > 1) { 313 } else if (iter->depth > 1) {

mercurial