X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fccanlint%2Ftests%2Flicense_file_compat.c;h=39b3752e72a3a6e30708b251aa0044e1e7ef0b0d;hp=d1834c06452aec0146199ccc79ca12dda1fd5801;hb=9361a12f2fc1da0054faadbbdecaa341d0a6fc28;hpb=271676fecdb2fb079374b9e3fe03e5c53e7f0f23 diff --git a/tools/ccanlint/tests/license_file_compat.c b/tools/ccanlint/tests/license_file_compat.c index d1834c06..39b3752e 100644 --- a/tools/ccanlint/tests/license_file_compat.c +++ b/tools/ccanlint/tests/license_file_compat.c @@ -24,7 +24,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) {