Problem: unreachable code around socket_base_t::add/remove_signaler

Solution: replaced by assertion
This commit is contained in:
sigiesec
2018-02-02 16:29:10 +01:00
committed by Simon Giesecke
parent b77d7610cd
commit 5b510656d0
3 changed files with 13 additions and 26 deletions

View File

@@ -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 = {