commit | a9309bb987044a31c7b37975e2eac446f8b3d346 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Jul 09 09:31:55 2021 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Jul 09 09:31:55 2021 +0200 |
tree | 8fb69780dad442dec49c86cdb7e013ff2383714d | |
parent | d5bb5c21dbd377fa12080d01ed783a54e46a8671 [diff] [blame] |
schema MAINTENANCE warnings in release build
diff --git a/src/xpath.c b/src/xpath.c index 57e0d2d..a4856bc 100644 --- a/src/xpath.c +++ b/src/xpath.c
@@ -1338,6 +1338,8 @@ LY_LIST_FOR(root, top_sibling) { LYD_TREE_DFS_BEGIN(top_sibling, elem) { dfs_search: + LYD_TREE_DFS_continue = 0; + if (*prev && !elem) { /* resume previous DFS */ elem = LYD_TREE_DFS_next = (struct lyd_node *)*prev;