aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-05-05 21:22:20 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-05-05 21:22:20 +0200
commit8042cd7feb68a13efee891ae58308b1326292778 (patch)
treee912a0b53c040f69e17bef052dd88e023665f102
parentd7345bbf71eefb20bc2fb15dbf6595314d65f860 (diff)
downloaddabmod-8042cd7feb68a13efee891ae58308b1326292778.tar.gz
dabmod-8042cd7feb68a13efee891ae58308b1326292778.tar.bz2
dabmod-8042cd7feb68a13efee891ae58308b1326292778.zip
Suppress warning in outputzmq
-rw-r--r--src/OutputZeroMQ.cpp3
1 files changed, 2 insertions, 1 deletions
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()});