summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'rpc')
-rw-r--r--rpc/rpc-transport/socket/src/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-transport/socket/src/socket.c b/rpc/rpc-transport/socket/src/socket.c
index 06b5af2e5b2..46929ceee32 100644
--- a/rpc/rpc-transport/socket/src/socket.c
+++ b/rpc/rpc-transport/socket/src/socket.c
@@ -223,7 +223,7 @@ socket_dump_info(struct sockaddr *sa, int is_server, int is_ssl, int sock,
else
peer_type = "client";
- getsockopt(sock, SOL_SOCKET, SO_ERROR, &so_error, &slen);
+ (void)getsockopt(sock, SOL_SOCKET, SO_ERROR, &so_error, &slen);
gf_log(log_domain, GF_LOG_TRACE,
"$$$ %s: %s (af:%d,sock:%d) %s %s (errno:%d:%s)", peer_type,