From 2e25451a265a989cb71034e7f52cd49872035b9d Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Sat, 3 Oct 2026 14:23:42 -0400 Subject: [PATCH] sdrgui: Initialize device set selection Initialize m_selectedDeviceSetIndex in DeviceSetSelectionDialog. Found by cppcheck. Signed-off-by: Robin Getz --- sdrgui/gui/devicesetselectiondialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sdrgui/gui/devicesetselectiondialog.cpp b/sdrgui/gui/devicesetselectiondialog.cpp index 769621f19..e5228749f 100644 --- a/sdrgui/gui/devicesetselectiondialog.cpp +++ b/sdrgui/gui/devicesetselectiondialog.cpp @@ -30,6 +30,7 @@ DeviceSetSelectionDialog::DeviceSetSelectionDialog(std::vector& de ui(new Ui::WorkspaceSelectionDialog), m_deviceUIs(deviceUIs), m_channelDeviceSetIndex(channelDeviceSetIndex), + m_selectedDeviceSetIndex(0), m_hasChanged(false) { ui->setupUi(this);