Commit 4604014c authored by Simon Giesecke's avatar Simon Giesecke

Problem: unused result of call to pull_msg

Solution: add TODO comment regarding handling of the result
parent c2ba553d
......@@ -361,6 +361,8 @@ void zmq::udp_engine_t::out_event ()
if (rc == 0) {
msg_t body_msg;
rc = _session->pull_msg (&body_msg);
// TODO rc is not checked here. We seem to assume rc == 0. An
// assertion should be added.
const size_t group_size = group_msg.size ();
const size_t body_size = body_msg.size ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment