Fix nodiscard warning

This commit is contained in:
Gudmundur Adalsteinsson 2020-05-16 13:20:48 +00:00
parent a2ef92ef57
commit 6143343edf

View File

@ -55,7 +55,7 @@ TEST_CASE("context - use socket after shutdown", "[context]")
{
sock.connect("inproc://test");
zmq::message_t msg;
sock.recv(msg, zmq::recv_flags::dontwait);
(void)sock.recv(msg, zmq::recv_flags::dontwait);
REQUIRE(false);
}
catch (const zmq::error_t& e)