Browse Source

Remove unused variable

QGC4.4
Don Gagne 9 years ago
parent
commit
59df4100f7
  1. 1
      src/MissionManager/RallyPointController.cc

1
src/MissionManager/RallyPointController.cc

@ -287,7 +287,6 @@ void RallyPointController::removePoint(QObject* rallyPoint) @@ -287,7 +287,6 @@ void RallyPointController::removePoint(QObject* rallyPoint)
int foundIndex = 0;
for (foundIndex=0; foundIndex<_points.count(); foundIndex++) {
prevPoint = _points[foundIndex];
if (_points[foundIndex] == rallyPoint) {
_points.removeOne(rallyPoint);
rallyPoint->deleteLater();

Loading…
Cancel
Save