X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Flicense_file_compat.c;h=e9273d2443372cab2bd04d642300788cede5515d;hp=d1834c06452aec0146199ccc79ca12dda1fd5801;hb=HEAD;hpb=4c1a5ebd8720c26e264c89f8256df02a93db683a diff --git a/tools/ccanlint/tests/license_file_compat.c b/tools/ccanlint/tests/license_file_compat.c index d1834c06..e9273d24 100644 --- a/tools/ccanlint/tests/license_file_compat.c +++ b/tools/ccanlint/tests/license_file_compat.c @@ -9,13 +9,10 @@ #include #include #include -#include #include -#include static void check_license_file_compat(struct manifest *m, - bool keep, - unsigned int *timeleft, + unsigned int *timeleft UNNEEDED, struct score *score) { struct list_head *list; @@ -24,7 +21,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) {