From 77969258ef3fd5339d2f5896afc999e304af9541 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Sat, 3 Oct 2026 14:33:16 -0400 Subject: [PATCH] sdrgui: Initialize configuration FSM Initialize m_loadConfigurationFSM in the InitFSM constructor. Found by cppcheck. Signed-off-by: Robin Getz --- sdrgui/mainwindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sdrgui/mainwindow.cpp b/sdrgui/mainwindow.cpp index dbf2202c0..4bdec5bae 100644 --- a/sdrgui/mainwindow.cpp +++ b/sdrgui/mainwindow.cpp @@ -1226,7 +1226,8 @@ void LoadConfigurationFSM::restoreGeometry() InitFSM::InitFSM(MainWindow *mainWindow, SDRangelSplash *splash, bool loadDefault, bool showConfigs, QObject *parent) : MainWindowFSM(mainWindow, parent), m_splash(splash), - m_showConfigs(showConfigs) + m_showConfigs(showConfigs), + m_loadConfigurationFSM(nullptr) { // Create FSM createStates(2);