From 0b2a610433877281e803f8db21ca22e7803a975b Mon Sep 17 00:00:00 2001 From: Robin Getz Date: Mon, 14 Sep 2026 23:00:06 -0400 Subject: [PATCH] remotetcpsinkstarter : Mark unused serial parameter Explicitly mark the serial parameter as unused to avoid a compiler warning while retaining the parameter in the constructor interface. Found by cppcheck. Signed-off-by: Robin Getz --- sdrbase/remotetcpsinkstarter.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdrbase/remotetcpsinkstarter.cpp b/sdrbase/remotetcpsinkstarter.cpp index 71d3c0e8c..acafecab1 100644 --- a/sdrbase/remotetcpsinkstarter.cpp +++ b/sdrbase/remotetcpsinkstarter.cpp @@ -60,6 +60,8 @@ RemoteTCPSinkStarter::RemoteTCPSinkStarter(const QString& address, int port, con m_dataPort(port), m_deviceSet(nullptr) { + Q_UNUSED(serial); + // Add device of requested type SWGSDRangel::SWGDeviceSettings *response = new SWGSDRangel::SWGDeviceSettings(); response->init();