mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-07 08:24:43 -04:00
Windows: MSVC2017: fixed more attribute unused cases (2)
This commit is contained in:
@@ -900,8 +900,9 @@ int BladeRF2Output::getNbChannels()
|
||||
|
||||
int BladeRF2Output::webapiSettingsGet(
|
||||
SWGSDRangel::SWGDeviceSettings& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setBladeRf2OutputSettings(new SWGSDRangel::SWGBladeRF2OutputSettings());
|
||||
response.getBladeRf2OutputSettings()->init();
|
||||
webapiFormatDeviceSettings(response, m_settings);
|
||||
@@ -912,8 +913,9 @@ int BladeRF2Output::webapiSettingsPutPatch(
|
||||
bool force,
|
||||
const QStringList& deviceSettingsKeys,
|
||||
SWGSDRangel::SWGDeviceSettings& response, // query + response
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
BladeRF2OutputSettings settings = m_settings;
|
||||
|
||||
if (deviceSettingsKeys.contains("centerFrequency")) {
|
||||
@@ -957,8 +959,9 @@ int BladeRF2Output::webapiSettingsPutPatch(
|
||||
return 200;
|
||||
}
|
||||
|
||||
int BladeRF2Output::webapiReportGet(SWGSDRangel::SWGDeviceReport& response, QString& errorMessage __attribute__((unused)))
|
||||
int BladeRF2Output::webapiReportGet(SWGSDRangel::SWGDeviceReport& response, QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
response.setBladeRf2OutputReport(new SWGSDRangel::SWGBladeRF2OutputReport());
|
||||
response.getBladeRf2OutputReport()->init();
|
||||
webapiFormatDeviceReport(response);
|
||||
@@ -1019,8 +1022,9 @@ void BladeRF2Output::webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& resp
|
||||
|
||||
int BladeRF2Output::webapiRunGet(
|
||||
SWGSDRangel::SWGDeviceState& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
m_deviceAPI->getDeviceEngineStateStr(*response.getState());
|
||||
return 200;
|
||||
}
|
||||
@@ -1028,8 +1032,9 @@ int BladeRF2Output::webapiRunGet(
|
||||
int BladeRF2Output::webapiRun(
|
||||
bool run,
|
||||
SWGSDRangel::SWGDeviceState& response,
|
||||
QString& errorMessage __attribute__((unused)))
|
||||
QString& errorMessage)
|
||||
{
|
||||
(void) errorMessage;
|
||||
m_deviceAPI->getDeviceEngineStateStr(*response.getState());
|
||||
MsgStartStop *message = MsgStartStop::create(run);
|
||||
m_inputMessageQueue.push(message);
|
||||
|
||||
Reference in New Issue
Block a user