diff --git a/src/net_socket.c b/src/net_socket.c index ac90d8af..5af458e7 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -107,6 +107,7 @@ static bool bind_to_interface(int sd) { return false; } #else /* if !defined(SOL_SOCKET) || !defined(SO_BINDTODEVICE) */ + UNUSED(sd); logger(DEBUG_ALWAYS, LOG_WARNING, "%s not supported on this platform", "BindToInterface"); #endif