commit | c6526b4a8b8612af2f6abb47cf12600b38e3eac5 | [log] [tgz] |
---|---|---|
author | aPiecek <piecek@cesnet.cz> | Mon Jul 12 15:21:39 2021 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Jul 13 10:37:48 2021 +0200 |
tree | fcf1f34eea426456460d89bf6fcf3ad87572e8cf | |
parent | d7bd52d0169af1ddcfe90472aec3ea42c8a6467d [diff] [blame] |
schema compile FEATURE check of disabled leafref Even if leafref is disabled by its if-features, all validity checks must be performed.
diff --git a/src/tree_schema.c b/src/tree_schema.c index b5bf8eb..6ecdf6c 100644 --- a/src/tree_schema.c +++ b/src/tree_schema.c
@@ -1068,6 +1068,7 @@ assert(!unres->ds_unres.xpath.count); assert(!unres->ds_unres.leafrefs.count); + assert(!unres->ds_unres.disabled_leafrefs.count); assert(!unres->ds_unres.dflts.count); assert(!unres->ds_unres.disabled.count); }