diff --git a/plugins/channelrx/radioastronomy/radioastronomygui.cpp b/plugins/channelrx/radioastronomy/radioastronomygui.cpp index 58f7ba91a..f771ee517 100644 --- a/plugins/channelrx/radioastronomy/radioastronomygui.cpp +++ b/plugins/channelrx/radioastronomy/radioastronomygui.cpp @@ -3560,6 +3560,8 @@ void RadioAstronomyGUI::plotPowerVsTimeChart() break; } break; + default: + break; } m_powerChart->addAxis(m_powerXAxis, Qt::AlignBottom); @@ -3950,6 +3952,8 @@ RadioAstronomyGUI::FFTMeasurement* RadioAstronomyGUI::currentFFT() void RadioAstronomyGUI::on_spectrumYUnits_currentIndexChanged(int index) { + (void) index; + QString text = ui->spectrumYUnits->currentText(); if (text == "dBFS") { diff --git a/plugins/feature/satellitetracker/satellitetrackerworker.cpp b/plugins/feature/satellitetracker/satellitetrackerworker.cpp index 829382998..fa0a48adb 100644 --- a/plugins/feature/satellitetracker/satellitetrackerworker.cpp +++ b/plugins/feature/satellitetracker/satellitetrackerworker.cpp @@ -549,7 +549,7 @@ void SatelliteTrackerWorker::applyDeviceAOSSettings(const QString& name) const MainSettings& mainSettings = mainCore->getSettings(); const std::vector& deviceSets = mainCore->getDeviceSets(); - if (devSettings->m_deviceSetIndex < deviceSets.size()) + if (devSettings->m_deviceSetIndex < (int)deviceSets.size()) { const DeviceSet *deviceSet = deviceSets[devSettings->m_deviceSetIndex]; QString presetType; diff --git a/plugins/feature/startracker/startrackerworker.cpp b/plugins/feature/startracker/startrackerworker.cpp index 6f096b527..ba577b4d0 100644 --- a/plugins/feature/startracker/startrackerworker.cpp +++ b/plugins/feature/startracker/startrackerworker.cpp @@ -622,7 +622,6 @@ void StarTrackerWorker::update() swgTarget->setEarthOrbitVelocityBcrs(vOrbit); double vLSRK = Astronomy::sunVelocityLSRK(rd); swgTarget->setSunVelocityLsr(vLSRK); - double vCorr = vRot + vOrbit + vLSRK; (*it)->push(MainCore::MsgStarTrackerTarget::create(m_starTracker, swgTarget)); } } diff --git a/sdrbase/channel/channelwebapiutils.cpp b/sdrbase/channel/channelwebapiutils.cpp index da25919dd..58cb39c42 100644 --- a/sdrbase/channel/channelwebapiutils.cpp +++ b/sdrbase/channel/channelwebapiutils.cpp @@ -569,13 +569,13 @@ bool ChannelWebAPIUtils::patchFeatureSetting(unsigned int featureSetIndex, unsig if (httpRC/100 == 2) { - qDebug("ChannelWebAPIUtils::patchFeatureSetting: set feature setting %s to %s OK", qPrintable(setting), value); + qDebug("ChannelWebAPIUtils::patchFeatureSetting: set feature setting %s to %s OK", qPrintable(setting), qPrintable(value)); return true; } else { qWarning("ChannelWebAPIUtils::patchFeatureSetting: set feature setting %s to %s error %d: %s", - setting, value, httpRC, qPrintable(*errorResponse2.getMessage())); + qPrintable(setting), qPrintable(value), httpRC, qPrintable(*errorResponse2.getMessage())); return false; } } diff --git a/swagger/sdrangel/api/swagger/include/RadioClock.yaml b/swagger/sdrangel/api/swagger/include/RadioClock.yaml index 3bb5e9618..c7dcc78ec 100644 --- a/swagger/sdrangel/api/swagger/include/RadioClock.yaml +++ b/swagger/sdrangel/api/swagger/include/RadioClock.yaml @@ -13,7 +13,7 @@ RadioClockSettings: type: number format: float modulation: - description: 0 - MSF, 1 - DCF77, 2 - TDF + description: 0 - MSF, 1 - DCF77, 2 - TDF, 3 - WWVB type: integer timezone: description: 0 - Broadcast, 1 - Local, 2 - UTC