about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-10 08:34:01 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-04-17 16:12:10 -0300
commit5d3b33803f19e208b4c8744120fb84082ec2c625 (patch)
treef8cb57fa8752625ebb70ff6ba8892ff9af0c25be
parent2d94174fd1c2038498f7c2ee6aa1f4eef12201ac (diff)
downloadglibc-5d3b33803f19e208b4c8744120fb84082ec2c625.tar.gz
glibc-5d3b33803f19e208b4c8744120fb84082ec2c625.tar.xz
glibc-5d3b33803f19e208b4c8744120fb84082ec2c625.zip
sunrpc: Remove extra parenthesis on comparison
clang issues a 'equality comparison with extraneous parentheses
[-Werror,-Wparentheses-equality]' in this.  Instead of suppress
the warning, just follow the next comparison style.
-rw-r--r--sunrpc/key_call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c
index b0b29e09a7..1072c97015 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");