commit | 31a82d5303b788337c4e7cd4b9e4bbf0570e12a1 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Aug 21 08:11:48 2020 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Aug 21 08:11:48 2020 +0200 |
tree | 73ed3b2efba60dfddca2aa9e4b7f454ead40f645 | |
parent | 71385ecc9be3bdf0c0f9c500389452969bc2ad01 [diff] |
schema compile MAINTENANCE check return value
diff --git a/src/tree_schema_compile.c b/src/tree_schema_compile.c index 4da547d..da27d78 100644 --- a/src/tree_schema_compile.c +++ b/src/tree_schema_compile.c
@@ -5594,7 +5594,7 @@ } /* store the default value in unres */ - lysc_incomplete_leaf_dflt_add(ctx, leaf, d->dflts[0], ctx->mod_def); + LY_CHECK_GOTO(lysc_incomplete_leaf_dflt_add(ctx, leaf, d->dflts[0], ctx->mod_def), cleanup); target->flags |= LYS_SET_DFLT; break; case LYS_LEAFLIST: