Browse Source

ccanlint: fix warning about bogus return value.

Rusty Russell 14 years ago
parent
commit
9361a12f2f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/ccanlint/tests/license_file_compat.c

+ 1 - 1
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) {