From 6a5af3dae694010d097d383de2d14a6241f0c536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pontus=20Sk=C3=B6ldstr=C3=B6m?= Date: Tue, 20 Mar 2018 14:35:24 +0100 Subject: [PATCH] Removed unnecessary errno_assert --- src/udp_engine.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/udp_engine.cpp b/src/udp_engine.cpp index 6dedd2d8..0e693919 100644 --- a/src/udp_engine.cpp +++ b/src/udp_engine.cpp @@ -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 ();