]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/info_exists.c
ccanlint: mark unused parameters.
[ccan] / tools / ccanlint / tests / info_exists.c
index 9f6f2066ddf90dc5d0149f68ee62827ae7d2f3cd..5e4459bcbe02d362213bcf35e99a33c37c14f175 100644 (file)
@@ -14,7 +14,7 @@
 #include <ccan/noerr/noerr.h>
 
 static void check_has_info(struct manifest *m,
-                          unsigned int *timeleft,
+                          unsigned int *timeleft UNNEEDED,
                           struct score *score)
 {
        if (m->info_file) {
@@ -57,7 +57,8 @@ static const char template[] =
        "       return 1;\n"
        "}\n";
 
-static void create_info_template(struct manifest *m, struct score *score)
+static void create_info_template(struct manifest *m,
+                                struct score *score UNNEEDED)
 {
        FILE *info;
        const char *filename;