diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-03-10 08:34:01 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-04-17 16:12:10 -0300 |
commit | 5d3b33803f19e208b4c8744120fb84082ec2c625 (patch) | |
tree | f8cb57fa8752625ebb70ff6ba8892ff9af0c25be /sunrpc | |
parent | 2d94174fd1c2038498f7c2ee6aa1f4eef12201ac (diff) | |
download | glibc-5d3b33803f19e208b4c8744120fb84082ec2c625.zip glibc-5d3b33803f19e208b4c8744120fb84082ec2c625.tar.gz glibc-5d3b33803f19e208b4c8744120fb84082ec2c625.tar.bz2 |
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.
Diffstat (limited to 'sunrpc')
-rw-r--r-- | sunrpc/key_call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/key_call.c b/sunrpc/key_call.c index b0b29e0..1072c97 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"); |