From e3f15c9c4a0ca69bfdf7fada8b8697f627a7c84d Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Mon, 28 Aug 2023 12:40:57 -0700 Subject: [PATCH] test: omit unreachable code MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * src/test.c (unary_operator): Omit unreachable ‘return false;’. Oracle Solaris Studio 12.6 warns about it. --- src/test.c | 1 - 1 file changed, 1 deletion(-) 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 -- 2.47.2