| 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) { |