mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-04 07:27:26 +01:00
Merge pull request #1977 from hitstergtd/x-unused-variables
Problem: sockfd_ parameter throws unused warning
This commit is contained in:
commit
c7ecbedb0e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user