From 5ff0a5d0ac4149ab14a22755dbaabd638e46b41b Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Tue, 23 May 2023 22:59:35 +0100 Subject: [PATCH] Fix gcc warnings --- plugins/feature/startracker/startracker.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/feature/startracker/startracker.cpp b/plugins/feature/startracker/startracker.cpp index cdc3a27811..7d3256bf19 100644 --- a/plugins/feature/startracker/startracker.cpp +++ b/plugins/feature/startracker/startracker.cpp @@ -927,7 +927,6 @@ void StarTracker::scanAvailableFeatures() { qDebug("StarTracker::scanAvailableFeatures"); MainCore *mainCore = MainCore::instance(); - MessagePipes& messagePipes = mainCore->getMessagePipes(); std::vector& featureSets = mainCore->getFeatureeSets(); m_satelliteTrackers.clear(); @@ -951,11 +950,17 @@ void StarTracker::scanAvailableFeatures() void StarTracker::handleFeatureAdded(int featureSetIndex, Feature *feature) { + (void) featureSetIndex; + (void) feature; + scanAvailableFeatures(); } void StarTracker::handleFeatureRemoved(int featureSetIndex, Feature *feature) { + (void) featureSetIndex; + (void) feature; + scanAvailableFeatures(); }