]> git.ipfire.org Git - thirdparty/glibc.git/commit
sunrpc: Remove extra parenthesis on comparison
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 17 Oct 2025 19:12:46 +0000 (16:12 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 20 Oct 2025 14:33:54 +0000 (11:33 -0300)
commitf6d559f2f1b57d03e4db703beeecb2db1948b163
treea8691c7340a7a5a98d6f9b298a78f89a3ab482c4
parent64a0f4b77621a679bae711ec61a7595dcc924a87
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 <sam@gentoo.org>
sunrpc/key_call.c