Unverified Commit a415ede3 authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #3008 from eponsko/master

Problem: Unnecessary errno_assert
parents 9d3efcb0 6a5af3da
......@@ -397,7 +397,7 @@ void zmq::udp_engine_t::in_event ()
// Push message body to session
rc = session->push_msg (&msg);
// Message body message doesn't fit in the pipe, drop and reset session state
// Message body doesn't fit in the pipe, drop and reset session state
if (rc != 0) {
rc = msg.close ();
errno_assert (rc == 0);
......@@ -407,7 +407,6 @@ void zmq::udp_engine_t::in_event ()
return;
}
errno_assert (rc == 0);
rc = msg.close ();
errno_assert (rc == 0);
session->flush ();
......
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