From: Robert Lipe Date: Thu, 20 Dec 2018 04:19:05 +0000 (-0600) Subject: Remove write-only variable in compegps. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~8^2~26^2~9 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=82b0cef80d78184552d87ca03e4543211a0ef5a5;p=gpsbabel.git Remove write-only variable in compegps. --- diff --git a/compegps.cc b/compegps.cc index f0f8cd2e0..e74a101eb 100644 --- a/compegps.cc +++ b/compegps.cc @@ -79,7 +79,6 @@ static int radius; static int input_datum; static const route_head* curr_track; -static const route_head* curr_route; /* placeholders for options */ @@ -504,7 +503,6 @@ write_waypt_cb(const Waypoint* wpt) static void write_route_hdr_cb(const route_head* rte) { - curr_route = rte; curr_index++; if (curr_index != target_index) { return;