Browse Source

Remove unused variable

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

2
src/MissionManager/RallyPointController.cc

@ -283,8 +283,6 @@ bool RallyPointController::rallyPointsSupported(void) const @@ -283,8 +283,6 @@ bool RallyPointController::rallyPointsSupported(void) const
void RallyPointController::removePoint(QObject* rallyPoint)
{
QObject* prevPoint = _points[0];
int foundIndex = 0;
for (foundIndex=0; foundIndex<_points.count(); foundIndex++) {
if (_points[foundIndex] == rallyPoint) {

Loading…
Cancel
Save