Commit c3305ab
committed
schema: fix empty compiled shema in iter_children
A module schema can have no compiled schema. In this case, lys_getnext
returns an error (module and parent being NULL), leading to this log
"Invalid argument parent || module || ext (lys_getnext_()).".
Signed-off-by: Samuel Gauthier <samuel.gauthier@6wind.com>1 parent e602016 commit c3305ab
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1647 | 1647 | | |
1648 | 1648 | | |
1649 | 1649 | | |
| 1650 | + | |
| 1651 | + | |
1650 | 1652 | | |
1651 | 1653 | | |
1652 | 1654 | | |
| |||
0 commit comments