[flightplan] no more warnings for the dummy wp distance to home

This commit is contained in:
Gautier Hattenberger
2018-03-12 11:08:07 +01:00
parent 2ebd36e08a
commit cf9401e5df
+1 -2
View File
@@ -1038,10 +1038,9 @@ let () =
Xml2h.define "QFU" (sprintf "%.1f" qfu);
let waypoints = dummy_waypoint :: waypoints in
let (hx, hy) = home waypoints in
List.iter (check_distance (hx, hy) mdfh) waypoints;
let waypoints = dummy_waypoint :: waypoints in
define_waypoints_indices waypoints;
Xml2h.define "WAYPOINTS_UTM" "{ \\";