1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00

SDRDaemonSink: fixed compile warning in debug mode

This commit is contained in:
f4exb 2017-08-19 00:12:28 +02:00
parent 6473c84e68
commit 2c3f7fe690

View File

@ -58,7 +58,10 @@ SDRdaemonSinkGui::SDRdaemonSinkGui(DeviceSinkAPI *deviceAPI, QWidget* parent) :
assert(m_nnSender != -1);
int millis = 500;
int rc = nn_setsockopt(m_nnSender, NN_SOL_SOCKET, NN_SNDTIMEO, &millis, sizeof (millis));
assert (rc == 0);
if (rc != 0) {
qCritical("SDRdaemonSinkGui::SDRdaemonSinkGui: nn_setsockopt failed with rc %d", rc);
}
m_countUnrecoverable = 0;
m_countRecovered = 0;