X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Flicense_file_compat.c;h=e7e2c8a18bc2ccb946a8ab5d7858726a74312102;hb=d8c9fdc0e6b70ab4fced949ee6488dc585a711f4;hp=d1834c06452aec0146199ccc79ca12dda1fd5801;hpb=4c1a5ebd8720c26e264c89f8256df02a93db683a;p=ccan diff --git a/tools/ccanlint/tests/license_file_compat.c b/tools/ccanlint/tests/license_file_compat.c index d1834c06..e7e2c8a1 100644 --- a/tools/ccanlint/tests/license_file_compat.c +++ b/tools/ccanlint/tests/license_file_compat.c @@ -14,7 +14,6 @@ #include 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) {