diff --git a/src/Mayaqua/Network.c b/src/Mayaqua/Network.c index 86e10b23..e51a61fa 100644 --- a/src/Mayaqua/Network.c +++ b/src/Mayaqua/Network.c @@ -11288,7 +11288,7 @@ SOCK *NewUDP4(UINT port, IP *ip) if (port != 0) { bool true_flag = true; - setsockopt(s, SOL_SOCKET, SO_REUSEADDR, (char *)&true_flag, sizeof(bool)); + (void)setsockopt(s, SOL_SOCKET, SO_REUSEADDR, (char *)&true_flag, sizeof(bool)); if (bind(s, (struct sockaddr *)&addr, sizeof(addr)) != 0) { bool false_flag = false; @@ -11385,7 +11385,7 @@ SOCK *NewUDP6(UINT port, IP *ip) if (port != 0) { bool true_flag = true; - setsockopt(s, SOL_SOCKET, SO_REUSEADDR, (char *)&true_flag, sizeof(bool)); + (void)setsockopt(s, SOL_SOCKET, SO_REUSEADDR, (char *)&true_flag, sizeof(bool)); if (bind(s, (struct sockaddr *)&addr, sizeof(addr)) != 0) { bool false_flag = false;