From 9361a12f2fc1da0054faadbbdecaa341d0a6fc28 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 30 Aug 2011 09:24:39 +0930 Subject: [PATCH 1/1] ccanlint: fix warning about bogus return value. --- tools/ccanlint/tests/license_file_compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2