mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 06:04:39 -04:00
Fixed -Wunused-variable warnings
This commit is contained in:
@@ -647,11 +647,6 @@ bool RigCtlServerWorker::changeModem(const char *newMode, const char *newModemId
|
||||
channelSettingsKeys.append("inputFrequencyOffset");
|
||||
QString jsonSettingsStr = tr("\"inputFrequencyOffset\":%1").arg(currentOffset);
|
||||
|
||||
if (!strncmp(newMode, "LSB", 3))
|
||||
{
|
||||
int bw = newModemBw < 0 ? -3000 : -newModemBw;
|
||||
}
|
||||
|
||||
if (lsb || (newModemBw >= 0))
|
||||
{
|
||||
int bw = lsb ? (newModemBw < 0 ? -3000 : -newModemBw) : newModemBw;
|
||||
|
||||
Reference in New Issue
Block a user