kdc: Explicitly ignore setsockopt() result

This commit is contained in:
Nicolas Williams
2022-01-18 00:16:09 -06:00
parent ef059b8831
commit d41467dcde

View File

@@ -263,7 +263,8 @@ init_socket(krb5_context context,
#if defined(HAVE_SETSOCKOPT) && defined(SOL_SOCKET) && defined(SO_REUSEADDR)
{
int one = 1;
setsockopt(d->s, SOL_SOCKET, SO_REUSEADDR, (void *)&one, sizeof(one));
(void) setsockopt(d->s, SOL_SOCKET, SO_REUSEADDR, (void *)&one,
sizeof(one));
}
#endif
d->type = type;