X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fheaders_idempotent.c;h=f23784e4a2870c4b93cb9f7813aeb3b1d60464ef;hp=59d240e339f1a60477dd12814a47eb833e5db08d;hb=6b7c3c840eafbec211b9f58751c5ff754302a68e;hpb=3b200f895cb7884c72d9e2409f047284027abc68 diff --git a/tools/ccanlint/tests/headers_idempotent.c b/tools/ccanlint/tests/headers_idempotent.c index 59d240e3..f23784e4 100644 --- a/tools/ccanlint/tests/headers_idempotent.c +++ b/tools/ccanlint/tests/headers_idempotent.c @@ -179,11 +179,13 @@ static void check_idempotent(struct manifest *m, { struct ccan_file *f; + /* We don't fail ccanlint for this. */ + score->pass = true; + list_for_each(&m->h_files, f, list) { check_idem(f, score); } if (!score->error) { - score->pass = true; score->score = score->total; } }