Problem: return value is stored but never used

Solution: add code to make non-use explicit
This commit is contained in:
Simon Giesecke
2018-05-17 14:26:02 +02:00
parent 2120f6aced
commit e37fc47fb6

View File

@@ -57,6 +57,8 @@ void zmq::dealer_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.
(void) rc;
pipe_->flush (); pipe_->flush ();
rc = probe_msg_.close (); rc = probe_msg_.close ();