Commit 3d5a1a32 authored by Rusty Russell's avatar Rusty Russell

ccanlint: ignore "unused" non-ccan dependencies.

We can't really tell if non-ccan dependencies are used, so don't try.
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 3c164cd2
......@@ -98,7 +98,7 @@ static void check_depends_accurate(struct manifest *m,
}
for (i = 0; i < core_deps; i++) {
if (!used[i])
if (!used[i] && strstarts(deps[i], "ccan/"))
score_file_error(score, m->info_file, 0,
"%s is an unused dependency",
deps[i]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment