mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-06-18 19:50:32 +02:00
Fix nodiscard warning
This commit is contained in:
parent
a2ef92ef57
commit
6143343edf
@ -55,7 +55,7 @@ TEST_CASE("context - use socket after shutdown", "[context]")
|
|||||||
{
|
{
|
||||||
sock.connect("inproc://test");
|
sock.connect("inproc://test");
|
||||||
zmq::message_t msg;
|
zmq::message_t msg;
|
||||||
sock.recv(msg, zmq::recv_flags::dontwait);
|
(void)sock.recv(msg, zmq::recv_flags::dontwait);
|
||||||
REQUIRE(false);
|
REQUIRE(false);
|
||||||
}
|
}
|
||||||
catch (const zmq::error_t& e)
|
catch (const zmq::error_t& e)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user