mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-25 11:34:09 -04:00
Fixed -Wunused-parameter warnings
This commit is contained in:
@@ -574,12 +574,14 @@ void USRPInputGUI::on_gain_valueChanged(int value)
|
||||
|
||||
void USRPInputGUI::on_antenna_currentIndexChanged(int index)
|
||||
{
|
||||
(void) index;
|
||||
m_settings.m_antennaPath = ui->antenna->currentText();
|
||||
sendSettings();
|
||||
}
|
||||
|
||||
void USRPInputGUI::on_clockSource_currentIndexChanged(int index)
|
||||
{
|
||||
(void) index;
|
||||
m_settings.m_clockSource = ui->clockSource->currentText();
|
||||
sendSettings();
|
||||
}
|
||||
|
||||
@@ -46,6 +46,7 @@ int USRPInputWebAPIAdapter::webapiSettingsPutPatch(
|
||||
SWGSDRangel::SWGDeviceSettings& response, // query + response
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) force; // no action
|
||||
(void) errorMessage;
|
||||
USRPInput::webapiUpdateDeviceSettings(m_settings, deviceSettingsKeys, response);
|
||||
return 200;
|
||||
|
||||
Reference in New Issue
Block a user