ccanlint: fix warning about bogus return value.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 29 Aug 2011 23:54:39 +0000 (09:24 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 29 Aug 2011 23:54:39 +0000 (09:24 +0930)
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;
-               return 0;
+               return;
        }
 
        foreach_ptr(list, &m->c_files, &m->h_files) {