Skip to content

Commit 6a5af3d

Browse files
author
Pontus Sköldström
committed
Removed unnecessary errno_assert
1 parent 9d3efcb commit 6a5af3d

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/udp_engine.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ void zmq::udp_engine_t::in_event ()
397397

398398
// Push message body to session
399399
rc = session->push_msg (&msg);
400-
// Message body message doesn't fit in the pipe, drop and reset session state
400+
// Message body doesn't fit in the pipe, drop and reset session state
401401
if (rc != 0) {
402402
rc = msg.close ();
403403
errno_assert (rc == 0);
@@ -407,7 +407,6 @@ void zmq::udp_engine_t::in_event ()
407407
return;
408408
}
409409

410-
errno_assert (rc == 0);
411410
rc = msg.close ();
412411
errno_assert (rc == 0);
413412
session->flush ();

0 commit comments

Comments
 (0)