Skip to content

Commit

Permalink
fix error-prone warning
Browse files Browse the repository at this point in the history
  • Loading branch information
don-vip committed Mar 15, 2020
1 parent 254aa27 commit 5f72788
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ private void recalculate(){
double pathLength = 0.0, segLength = 0.0; // in meters
WayPoint last = null;

pathLength = 0.0;
for(WayPoint p : points){
if(last != null){
segLength = calcDistance(last, p);
Expand Down

0 comments on commit 5f72788

Please sign in to comment.