Commit e735d89a authored by Dominik Charousset's avatar Dominik Charousset Committed by GitHub

Merge pull request #61

Silence unused parameter warning
parents 1bbb1f97 2fee5c94
......@@ -79,7 +79,7 @@ error allow_udp_connreset(network_socket x, bool new_value) {
}
#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
int value = new_value ? 0 : 1;
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