From d1cc5a599fd182210615ac8f01cbf1ab436cc996 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 13 Apr 2025 12:37:35 -0700 Subject: [PATCH] test: remove extra return Clears warning from clang 19.1.7: test/misc.c:239:12: warning: 'return' will never be executed [-Wunreachable-code-return] 239 | return 0; Fixes: 46b579e8d ("test: switch the unit tests to something resembling a test suite") Signed-off-by: Alan Coopersmith Part-of: --- test/misc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/misc.c b/test/misc.c index 74329ddf2..5dbe8cade 100644 --- a/test/misc.c +++ b/test/misc.c @@ -235,6 +235,4 @@ misc_test(void) NULL, }; return testfuncs; - - return 0; }