Browse Source

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 <rgetz503@gmail.com>
chirpmodem-v8.0.0
Robin Getz 2 months ago
parent
commit
0b2a610433
No known key found for this signature in database
GPG Key ID: 51C7231FFED0E060
  1. 2
      sdrbase/remotetcpsinkstarter.cpp

2
sdrbase/remotetcpsinkstarter.cpp

@ -60,6 +60,8 @@ RemoteTCPSinkStarter::RemoteTCPSinkStarter(const QString& address, int port, con @@ -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();

Loading…
Cancel
Save