Unverified Commit 9265ae7d authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Merge pull request #61

Silence unused parameter warning
parents 6344cacd 343329ba
...@@ -79,7 +79,7 @@ error allow_udp_connreset(network_socket x, bool new_value) { ...@@ -79,7 +79,7 @@ error allow_udp_connreset(network_socket x, bool new_value) {
} }
#else // CAF_WINDOWS #else // CAF_WINDOWS
error allow_sigpipe(network_socket x, bool new_value) { error allow_sigpipe(network_socket x, [[maybe_unused]] bool new_value) {
# ifdef CAF_HAS_NOSIGPIPE_SOCKET_FLAG # ifdef CAF_HAS_NOSIGPIPE_SOCKET_FLAG
int value = new_value ? 0 : 1; int value = new_value ? 0 : 1;
CAF_NET_SYSCALL("setsockopt", res, !=, 0, CAF_NET_SYSCALL("setsockopt", res, !=, 0,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment