]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/license_file_compat.c
ccanlint: fix warning about bogus return value.
[ccan] / tools / ccanlint / tests / license_file_compat.c
index d1834c06452aec0146199ccc79ca12dda1fd5801..39b3752e72a3a6e30708b251aa0044e1e7ef0b0d 100644 (file)
@@ -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;
        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) {
        }
 
        foreach_ptr(list, &m->c_files, &m->h_files) {