mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-10-08 00:00:42 -04:00
radiosondesettings: Initialize RadiosondeSettings workspace index
Initialize the previously uninitialized m_workspaceIndex member to zero to eliminate the cppcheck UNINIT_CTOR warning and ensure the workspace index starts in a defined state. Signed-off-by: Robin Getz <rgetz503@gmail.com>
This commit is contained in:
@@ -36,7 +36,8 @@ const QStringList RadiosondeSettings::m_pipeURIs = {
|
||||
};
|
||||
|
||||
RadiosondeSettings::RadiosondeSettings() :
|
||||
m_rollupState(nullptr)
|
||||
m_rollupState(nullptr),
|
||||
m_workspaceIndex(0)
|
||||
{
|
||||
resetToDefaults();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user