mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-04 23:14:47 -04:00
Fix unused variable warnings
This commit is contained in:
@@ -144,7 +144,7 @@ bool SatelliteTrackerGUI::handleMessage(const Message& message)
|
||||
else if (SatelliteTrackerReport::MsgReportAOS::match(message))
|
||||
{
|
||||
SatelliteTrackerReport::MsgReportAOS& aosReport = (SatelliteTrackerReport::MsgReportAOS&) message;
|
||||
aos(aosReport.getName(), aosReport.getSpeech());
|
||||
aos(aosReport.getSpeech());
|
||||
return true;
|
||||
}
|
||||
else if (SatelliteTrackerReport::MsgReportTarget::match(message))
|
||||
@@ -156,7 +156,7 @@ bool SatelliteTrackerGUI::handleMessage(const Message& message)
|
||||
else if (SatelliteTrackerReport::MsgReportLOS::match(message))
|
||||
{
|
||||
SatelliteTrackerReport::MsgReportLOS& losReport = (SatelliteTrackerReport::MsgReportLOS&) message;
|
||||
los(losReport.getName(), losReport.getSpeech());
|
||||
los(losReport.getSpeech());
|
||||
return true;
|
||||
}
|
||||
else if (SatelliteTracker::MsgSatData::match(message))
|
||||
@@ -400,7 +400,7 @@ void SatelliteTrackerGUI::onMenuDialogCalled(const QPoint &p)
|
||||
resetContextMenuType();
|
||||
}
|
||||
|
||||
void SatelliteTrackerGUI::aos(const QString& name, const QString &speech)
|
||||
void SatelliteTrackerGUI::aos(const QString &speech)
|
||||
{
|
||||
// Call plotChart() to start the periodic updates with sat position in polar chart
|
||||
plotChart();
|
||||
@@ -410,7 +410,7 @@ void SatelliteTrackerGUI::aos(const QString& name, const QString &speech)
|
||||
}
|
||||
}
|
||||
|
||||
void SatelliteTrackerGUI::los(const QString& name, const QString &speech)
|
||||
void SatelliteTrackerGUI::los(const QString &speech)
|
||||
{
|
||||
// Give speech notification of end of pass
|
||||
if (!speech.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user