commit | 26bbb2720a2fb2add8e4f472b9a731ac1f7f4edb | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Aug 02 14:54:33 2022 +0200 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Aug 02 14:54:33 2022 +0200 |
tree | 8e41aae5b7c1de1b203358f80fada920f777b744 | |
parent | f60d1781ed3dd9cc98911818168bd61ae0f24b86 [diff] [blame] |
build UPDATE uncrustify version 0.71 -> 0.75
diff --git a/tools/lint/cmd_feature.c b/tools/lint/cmd_feature.c index 603cfd4..1ced1ad 100644 --- a/tools/lint/cmd_feature.c +++ b/tools/lint/cmd_feature.c
@@ -85,6 +85,7 @@ for (i = 0; i < argc - optind; i++) { const struct lys_module *mod = ly_ctx_get_module_latest(*ctx, argv[optind + i]); + if (!mod) { YLMSG_E("Module \"%s\" not found.\n", argv[optind + i]); goto cleanup;