diff --git a/src/tcp.cpp b/src/tcp.cpp index 42789115..821b6175 100644 --- a/src/tcp.cpp +++ b/src/tcp.cpp @@ -168,6 +168,8 @@ void zmq::tune_tcp_maxrt (fd_t sockfd_, int timeout_) if (timeout_ <= 0) return; + LIBZMQ_UNUSED (sockfd_); + #if defined (ZMQ_HAVE_WINDOWS) && defined (TCP_MAXRT) // msdn says it's supported in >= Vista, >= Windows Server 2003 timeout_ /= 1000; // in seconds