mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-10 16:06:09 +00:00
Problem: unused stored value warning
Solution: add LIBZMQ_UNUSED
This commit is contained in:
parent
0f2979a38e
commit
6fa12bd692
@ -80,6 +80,8 @@ void zmq::router_t::xattach_pipe (pipe_t *pipe_, bool subscribe_to_all_)
|
|||||||
|
|
||||||
rc = pipe_->write (&probe_msg);
|
rc = pipe_->write (&probe_msg);
|
||||||
// zmq_assert (rc) is not applicable here, since it is not a bug.
|
// zmq_assert (rc) is not applicable here, since it is not a bug.
|
||||||
|
LIBZMQ_UNUSED (rc);
|
||||||
|
|
||||||
pipe_->flush ();
|
pipe_->flush ();
|
||||||
|
|
||||||
rc = probe_msg.close ();
|
rc = probe_msg.close ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user