From eed4b986475b32408ff03fe5fd213b1a10a68078 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sat, 16 Jan 2016 13:25:45 -0800 Subject: [PATCH] Remove unused variable --- src/AutoPilotPlugins/Common/RadioComponentController.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/AutoPilotPlugins/Common/RadioComponentController.cc b/src/AutoPilotPlugins/Common/RadioComponentController.cc index 4d336bd2e..f5337ab9c 100644 --- a/src/AutoPilotPlugins/Common/RadioComponentController.cc +++ b/src/AutoPilotPlugins/Common/RadioComponentController.cc @@ -918,7 +918,6 @@ void RadioComponentController::_writeCalibration(void) } // Write function mapping parameters - bool functionMappingChanged = false; for (size_t i=0; irawValue().toInt() != paramChannel) { - functionMappingChanged = true; paramFact = getParameterFact(FactSystem::defaultComponentId, _functionInfo()[i].parameterName); if (paramFact) { paramFact->setRawValue(paramChannel); -- 2.22.0