From 4eec82dc5239f43f6a4c669a5acab6b8044b8c59 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Wed, 19 Jan 2022 23:37:01 -0600 Subject: [PATCH] ipc: Ignore setsockopt result --- lib/ipc/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ipc/server.c b/lib/ipc/server.c index ae6c2f73f..663dcaa78 100644 --- a/lib/ipc/server.c +++ b/lib/ipc/server.c @@ -1115,7 +1115,7 @@ heim_sipc_service_unix(const char *service, #ifdef LOCAL_CREDS { int one = 1; - setsockopt(fd, 0, LOCAL_CREDS, (void *)&one, sizeof(one)); + (void) setsockopt(fd, 0, LOCAL_CREDS, (void *)&one, sizeof(one)); } #endif