From: Paul Eggert Date: Mon, 28 Aug 2023 19:40:57 +0000 (-0700) Subject: test: omit unreachable code X-Git-Tag: v9.4~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3f15c9c4a0ca69bfdf7fada8b8697f627a7c84d;p=thirdparty%2Fcoreutils.git test: omit unreachable code * src/test.c (unary_operator): Omit unreachable ‘return false;’. Oracle Solaris Studio 12.6 warns about it. --- diff --git a/src/test.c b/src/test.c index 445eba08b9..a4eb40a523 100644 --- a/src/test.c +++ b/src/test.c @@ -390,7 +390,6 @@ unary_operator (void) { default: test_syntax_error (_("%s: unary operator expected"), quote (argv[pos])); - return false; /* All of the following unary operators use unary_advance (), which checks to make sure that there is an argument, and then advances