mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 15:30:07 +00:00
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.
This commit is contained in:
parent
2d94174fd1
commit
5d3b33803f
@ -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");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user