]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/examples_exist.c
ccanlint: score_file_error() takes printf-format
[ccan] / tools / ccanlint / tests / examples_exist.c
index 947d76a4a768751053e6830b4bb788cb2c56df77..2091f67f0f97c82218b57d77a380ee3528eedc4f 100644 (file)
@@ -98,7 +98,6 @@ static void extract_examples(struct manifest *m,
                return;
        }
 
-       score->error = "Expect examples in header and _info";
        if (!have_info_example)
                score_file_error(score, m->info_file, 0, "No Example: section");
        if (!have_header_example)