From ca931c171f3cbff3744faa741bb5317272767eba Mon Sep 17 00:00:00 2001 From: f4exb Date: Sun, 3 Oct 2021 12:39:46 +0200 Subject: [PATCH] WebAPIAdapter: some cleanup --- sdrbase/webapi/webapiadapter.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/sdrbase/webapi/webapiadapter.cpp b/sdrbase/webapi/webapiadapter.cpp index accd68783..cb1341962 100644 --- a/sdrbase/webapi/webapiadapter.cpp +++ b/sdrbase/webapi/webapiadapter.cpp @@ -3757,14 +3757,12 @@ void WebAPIAdapter::getFeatureSetList(SWGSDRangel::SWGFeatureSetList* featureSet { QList *featureSets = featureSetList->getFeatureSets(); featureSets->append(new SWGSDRangel::SWGFeatureSet()); - getFeatureSet(featureSets->back(), *it, i); } } void WebAPIAdapter::getFeatureSet(SWGSDRangel::SWGFeatureSet *swgFeatureSet, const FeatureSet* featureSet, int featureSetIndex) { - (void) featureSetIndex; // FIXME: the index should be present in the API FeatureSet structure swgFeatureSet->init(); swgFeatureSet->setFeaturecount(featureSet->getNumberOfFeatures()); swgFeatureSet->setIndex(featureSetIndex);