commit | 3e671b5d64a71eb60d4ae5d1d4d7323b906750fc | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Oct 23 16:23:15 2015 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Fri Oct 23 16:23:15 2015 +0200 |
tree | 364a9f1399c7341980a204d255210598d2cb48b8 | |
parent | 315aa5a2f76bf8bcbad0fe31a5b27da8f434e560 [diff] [blame] |
data tree CHANGE lyd_new_leaf_val removed lyd_new_leaf_str renamed to lyd_new_leaf, union resolution fixed.
diff --git a/tools/lint/commands.c b/tools/lint/commands.c index 41e39c5..4675b0c 100644 --- a/tools/lint/commands.c +++ b/tools/lint/commands.c
@@ -657,6 +657,9 @@ int has_modules = 0; ylib = ly_ctx_info(ctx); + if (!ylib) { + return 1; + } LY_TREE_FOR(ylib->child, node) { if (!strcmp(node->schema->name, "module-set-id")) {