From ecf72360c71c84f1e63ce45eb27da7514836b9b4 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: (cherry picked from commit d1cc5a599fd182210615ac8f01cbf1ab436cc996) --- test/misc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/misc.c b/test/misc.c index ba7a80b51..5d61c5e3a 100644 --- a/test/misc.c +++ b/test/misc.c @@ -234,6 +234,4 @@ misc_test(void) NULL, }; return testfuncs; - - return 0; }