From ea7d7765a565ec63123481e7fae6c84b9846c73f Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Sat, 5 Sep 2026 00:43:59 -0400 Subject: [PATCH] localsinkworker: Initialize local sink device FIFO pointer Initialize m_deviceSampleFifo to null to resolve the Coverity UNINIT_CTOR warning and ensure the worker starts with a defined FIFO pointer. Signed-off-by: Robin Getz --- plugins/channelrx/localsink/localsinkworker.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/channelrx/localsink/localsinkworker.cpp b/plugins/channelrx/localsink/localsinkworker.cpp index dfc11ade0..53913ae59 100644 --- a/plugins/channelrx/localsink/localsinkworker.cpp +++ b/plugins/channelrx/localsink/localsinkworker.cpp @@ -24,7 +24,8 @@ MESSAGE_CLASS_DEFINITION(LocalSinkWorker::MsgStartStop, Message) LocalSinkWorker::LocalSinkWorker(QObject* parent) : QObject(parent), m_running(false), - m_sampleFifo(0) + m_sampleFifo(0), + m_deviceSampleFifo(nullptr) { connect(&m_inputMessageQueue, SIGNAL(messageEnqueued()), this, SLOT(handleInputMessages()), Qt::QueuedConnection); }