Commit c7ecbedb authored by Luca Boccassi's avatar Luca Boccassi

Merge pull request #1977 from hitstergtd/x-unused-variables

Problem: sockfd_ parameter throws unused warning
parents dc729653 545e8e84
......@@ -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
......
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