Skip to content

Commit 6143343

Browse files
committed
Fix nodiscard warning
1 parent a2ef92e commit 6143343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/context.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ TEST_CASE("context - use socket after shutdown", "[context]")
5555
{
5656
sock.connect("inproc://test");
5757
zmq::message_t msg;
58-
sock.recv(msg, zmq::recv_flags::dontwait);
58+
(void)sock.recv(msg, zmq::recv_flags::dontwait);
5959
REQUIRE(false);
6060
}
6161
catch (const zmq::error_t& e)

0 commit comments

Comments
 (0)