]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/tests_exist.c
ccanlint: mark unused parameters.
[ccan] / tools / ccanlint / tests / tests_exist.c
index 69e01df6e909ee64c0501384dcc25291efe7afa3..24c4d8776ac241265f371767b1a4292e74f353e2 100644 (file)
@@ -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");