mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-16 05:11:49 -05:00
cppcheck fixes
This commit is contained in:
parent
add0a614dd
commit
85f9be7c64
@ -501,7 +501,7 @@ int NFMDemod::webapiSettingsPutPatch(
|
|||||||
QString& errorMessage __attribute__((unused)))
|
QString& errorMessage __attribute__((unused)))
|
||||||
{
|
{
|
||||||
NFMDemodSettings settings = m_settings;
|
NFMDemodSettings settings = m_settings;
|
||||||
bool frequencyOffsetChanged;
|
bool frequencyOffsetChanged = false;
|
||||||
|
|
||||||
if (channelSettingsKeys.contains("afBandwidth")) {
|
if (channelSettingsKeys.contains("afBandwidth")) {
|
||||||
settings.m_afBandwidth = response.getNfmDemodSettings()->getAfBandwidth();
|
settings.m_afBandwidth = response.getNfmDemodSettings()->getAfBandwidth();
|
||||||
|
@ -119,6 +119,7 @@ bool LimeSDROutput::openDevice()
|
|||||||
if (buddyShared->m_channel == requestedChannel)
|
if (buddyShared->m_channel == requestedChannel)
|
||||||
{
|
{
|
||||||
qCritical("LimeSDROutput::openDevice: cannot open busy channel %u", requestedChannel);
|
qCritical("LimeSDROutput::openDevice: cannot open busy channel %u", requestedChannel);
|
||||||
|
delete[] busyChannels;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -137,6 +137,7 @@ bool LimeSDRInput::openDevice()
|
|||||||
if (buddyShared->m_channel == requestedChannel)
|
if (buddyShared->m_channel == requestedChannel)
|
||||||
{
|
{
|
||||||
qCritical("LimeSDRInput::openDevice: cannot open busy channel %u", requestedChannel);
|
qCritical("LimeSDRInput::openDevice: cannot open busy channel %u", requestedChannel);
|
||||||
|
delete[] busyChannels;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user