From e0a658edff81e4382a985dc6dc736bbda3340258 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Sat, 5 Sep 2026 00:56:17 -0400 Subject: [PATCH] wdsprxagcdialog: Initialize WDSP RX AGC dialog state Initialize the AGC mode, slope, and hang threshold to defined defaults to resolve the Coverity UNINIT_CTOR warning and ensure deterministic dialog state. Signed-off-by: Robin Getz --- plugins/channelrx/wdsprx/wdsprxagcdialog.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/channelrx/wdsprx/wdsprxagcdialog.cpp b/plugins/channelrx/wdsprx/wdsprxagcdialog.cpp index c910366df..e1b9df75a 100644 --- a/plugins/channelrx/wdsprx/wdsprxagcdialog.cpp +++ b/plugins/channelrx/wdsprx/wdsprxagcdialog.cpp @@ -20,7 +20,10 @@ WDSPRxAGCDialog::WDSPRxAGCDialog(QWidget* parent) : QDialog(parent), - ui(new Ui::WDSPRxAGCDialog) + ui(new Ui::WDSPRxAGCDialog), + m_agcMode(WDSPRxProfile::AGCLong), + m_agcSlope(0), + m_agcHangThreshold(0) { ui->setupUi(this); }