X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Fobjects_build_with_stringchecks.c;h=5c57155d1aaa6a45e42af55c80681ac3d3e7ab04;hp=32fa22ea54bff1e084006c75bbbdc5fd1597089d;hb=678cd10db6d6b81d97f3b98ea0a54657141632ad;hpb=2621f3adc8786e6655c69edc29d6a3560d41cd32 diff --git a/tools/ccanlint/tests/objects_build_with_stringchecks.c b/tools/ccanlint/tests/objects_build_with_stringchecks.c index 32fa22ea..5c57155d 100644 --- a/tools/ccanlint/tests/objects_build_with_stringchecks.c +++ b/tools/ccanlint/tests/objects_build_with_stringchecks.c @@ -128,9 +128,11 @@ static void build_objects_with_stringchecks(struct manifest *m, } } + /* We don't fail ccanlint for this. */ + score->pass = true; + score->total = 1; if (!errors) { - score->pass = true; score->score = !warnings; } }