From 430667de8bd70fb1b90f690d07d2bae6f18f76cd Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Tue, 20 Oct 2015 13:16:22 -0700 Subject: [PATCH] Remove unused variable --- src/MissionEditor/MissionEditorController.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/MissionEditor/MissionEditorController.cc b/src/MissionEditor/MissionEditorController.cc index 240494737..e1e7522b9 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)); -- 2.22.0