mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-15 15:16:52 +02:00
Problem: unreachable code around socket_base_t::add/remove_signaler
Solution: replaced by assertion
This commit is contained in:
@@ -130,8 +130,7 @@ int zmq::socket_poller_t::add (socket_base_t *socket_,
|
||||
}
|
||||
}
|
||||
|
||||
rc = socket_->add_signaler (signaler);
|
||||
zmq_assert (rc == 0);
|
||||
socket_->add_signaler (signaler);
|
||||
}
|
||||
|
||||
item_t item = {
|
||||
|
Reference in New Issue
Block a user