From 5c359aa0a497fa338c6ef00e4948bd9292839555 Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Sat, 25 Jul 2026 19:51:39 -0400 Subject: [PATCH] testmi: Fix missing m_title copy in TestMISettings cppcheck reported that the TestMISettings copy constructor did not initialize member variable m_title: Member variable 'TestMISettings::m_title' is not assigned in the copy constructor. Should it be copied? m_title is part of the serialized settings state, so ensure copied TestMISettings instances preserve the configured title value. Signed-off-by: Robin Getz --- plugins/samplemimo/testmi/testmisettings.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/samplemimo/testmi/testmisettings.cpp b/plugins/samplemimo/testmi/testmisettings.cpp index bd9d63c5d..46331de52 100644 --- a/plugins/samplemimo/testmi/testmisettings.cpp +++ b/plugins/samplemimo/testmi/testmisettings.cpp @@ -58,6 +58,7 @@ TestMISettings::TestMISettings() } TestMISettings::TestMISettings(const TestMISettings& other) : + m_title(other.m_title), m_streams(other.m_streams) { m_useReverseAPI = other.m_useReverseAPI;