X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Ftests_exist.c;fp=tools%2Fccanlint%2Ftests%2Ftests_exist.c;h=24c4d8776ac241265f371767b1a4292e74f353e2;hp=69e01df6e909ee64c0501384dcc25291efe7afa3;hb=1ddb7420f1ac53c060aec62e26702d1d7029fc54;hpb=04bcddcc084cf0ef05945c7a9d609e08e30387be diff --git a/tools/ccanlint/tests/tests_exist.c b/tools/ccanlint/tests/tests_exist.c index 69e01df6..24c4d877 100644 --- a/tools/ccanlint/tests/tests_exist.c +++ b/tools/ccanlint/tests/tests_exist.c @@ -22,7 +22,7 @@ static struct ccanlint tests_exist = { }; REGISTER_TEST(tests_exist); -static void handle_no_tests(struct manifest *m, struct score *score) +static void handle_no_tests(struct manifest *m, struct score *score UNNEEDED) { FILE *run; struct ccan_file *i; @@ -104,7 +104,8 @@ static void handle_no_tests(struct manifest *m, struct score *score) } static void check_tests_exist(struct manifest *m, - unsigned int *timeleft, struct score *score) + unsigned int *timeleft UNNEEDED, + struct score *score) { struct stat st; char *test_dir = path_join(m, m->dir, "test");