]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/license_file_compat.c
ccanlint: use ccan/autodata
[ccan] / tools / ccanlint / tests / license_file_compat.c
index d1834c06452aec0146199ccc79ca12dda1fd5801..e7e2c8a18bc2ccb946a8ab5d7858726a74312102 100644 (file)
@@ -14,7 +14,6 @@
 #include <ccan/str_talloc/str_talloc.h>
 
 static void check_license_file_compat(struct manifest *m,
-                                     bool keep,
                                      unsigned int *timeleft,
                                      struct score *score)
 {
@@ -24,7 +23,7 @@ static void check_license_file_compat(struct manifest *m,
        if (m->license == LICENSE_UNKNOWN) {
                score->pass = true;
                score->score = score->total = 0;
-               return 0;
+               return;
        }
 
        foreach_ptr(list, &m->c_files, &m->h_files) {