diff --git a/src/MissionEditor/MissionEditorController.cc b/src/MissionEditor/MissionEditorController.cc index 240494737884a254d7ae92f124559428e9eddb47..e1e7522b996967832de38d674fcbd3d31041483d 100644 --- a/src/MissionEditor/MissionEditorController.cc +++ b/src/MissionEditor/MissionEditorController.cc @@ -288,8 +288,6 @@ void MissionEditorController::_recalcWaypointLines(void) // This will update the sequence numbers to be sequential starting from 0 void MissionEditorController::_recalcSequence(void) { - MissionItem* currentParentItem = qobject_cast(_missionItems->get(0)); - for (int i=0; i<_missionItems->count(); i++) { MissionItem* item = qobject_cast(_missionItems->get(i));