mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-15 02:07:59 +08:00
Problem: unreachable return statement
Solution: fix #if/#else structure
This commit is contained in:
parent
290d215324
commit
f103f62630
@ -194,8 +194,9 @@ int zmq::tune_tcp_maxrt (fd_t sockfd_, int timeout_)
|
|||||||
sizeof (timeout_));
|
sizeof (timeout_));
|
||||||
tcp_assert_tuning_error (sockfd_, rc);
|
tcp_assert_tuning_error (sockfd_, rc);
|
||||||
return rc;
|
return rc;
|
||||||
#endif
|
#else
|
||||||
return 0;
|
return 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int zmq::tcp_write (fd_t s_, const void *data_, size_t size_)
|
int zmq::tcp_write (fd_t s_, const void *data_, size_t size_)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user