From 8042cd7feb68a13efee891ae58308b1326292778 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 5 May 2024 21:22:20 +0200 Subject: Suppress warning in outputzmq --- src/OutputZeroMQ.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OutputZeroMQ.cpp b/src/OutputZeroMQ.cpp index 373081b..c45c22e 100644 --- a/src/OutputZeroMQ.cpp +++ b/src/OutputZeroMQ.cpp @@ -68,7 +68,8 @@ int OutputZeroMQ::process(Buffer* dataIn) if (m_type == ZMQ_REP) { // A ZMQ_REP socket requires a request first zmq::message_t msg; - m_zmq_sock.recv(msg, zmq::recv_flags::none); + const auto rr = m_zmq_sock.recv(msg, zmq::recv_flags::none); + (void)rr; } m_zmq_sock.send(zmq::const_buffer{dataIn->getData(), dataIn->getLength()}); -- cgit v1.2.3