mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-13 10:52:57 +01: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");
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user