From: Adhemerval Zanella Date: Fri, 17 Oct 2025 19:12:46 +0000 (-0300) Subject: sunrpc: Remove extra parenthesis on comparison X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f6d559f2f1b57d03e4db703beeecb2db1948b163;p=thirdparty%2Fglibc.git sunrpc: Remove extra parenthesis on comparison clang issues: key_call.c:459:20: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality] 459 | if ((kcp->client == (CLIENT *) NULL)) Instead of suppress the warning, just use the more usual comparison style. Reviewed-by: Sam James --- diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c index c8e414b1df..98abeaf40a 100644 --- a/sunrpc/key_call.c +++ b/sunrpc/key_call.c @@ -456,7 +456,7 @@ getkeyserv_handle (int vers) return kcp->client; } - if ((kcp->client == (CLIENT *) NULL)) + if (kcp->client == (CLIENT *) NULL) /* Use the AF_UNIX transport */ kcp->client = clnt_create ("/var/run/keyservsock", KEY_PROG, vers, "unix");