Problem: sockfd_ parameter throws unused warning

Solution:
Mark it with LIBZMQ_UNUSED as per our convention.
This commit is contained in:
hitstergtd
2016-05-10 18:12:44 +01:00
parent dc7296537c
commit 545e8e848e

View File

@@ -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