mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-14 17:58:01 +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_));
|
||||
tcp_assert_tuning_error (sockfd_, rc);
|
||||
return rc;
|
||||
#endif
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
int zmq::tcp_write (fd_t s_, const void *data_, size_t size_)
|
||||
|
Loading…
x
Reference in New Issue
Block a user