diff options
| author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-05-05 21:22:20 +0200 |
|---|---|---|
| committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2024-05-05 21:22:20 +0200 |
| commit | 8042cd7feb68a13efee891ae58308b1326292778 (patch) | |
| tree | e912a0b53c040f69e17bef052dd88e023665f102 /src | |
| parent | d7345bbf71eefb20bc2fb15dbf6595314d65f860 (diff) | |
| download | dabmod-8042cd7feb68a13efee891ae58308b1326292778.tar.gz dabmod-8042cd7feb68a13efee891ae58308b1326292778.tar.bz2 dabmod-8042cd7feb68a13efee891ae58308b1326292778.zip | |
Suppress warning in outputzmq
Diffstat (limited to 'src')
| -rw-r--r-- | src/OutputZeroMQ.cpp | 3 |
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()}); |
