From 12e547c8d60e8345a2f0ba4e6b7e63bcacebd579 Mon Sep 17 00:00:00 2001 From: Felix Ruess Date: Thu, 24 Nov 2011 23:49:16 +0100 Subject: [PATCH] get rid of unused arg warning in sim_gps --- sw/airborne/arch/sim/sim_gps.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sw/airborne/arch/sim/sim_gps.c b/sw/airborne/arch/sim/sim_gps.c index 0930c39f34..13ef9b84cd 100644 --- a/sw/airborne/arch/sim/sim_gps.c +++ b/sw/airborne/arch/sim/sim_gps.c @@ -47,6 +47,7 @@ value sim_use_gps_pos(value x, value y, value z, value c, value a, value s, valu gps.utm_pos.north = Int_val(y); gps.utm_pos.zone = Int_val(z); lat = lon; /* Just to get rid of the "unused arg" warning */ + lon = lat; /* Just to get rid of the "unused arg" warning */ #endif // GPS_USE_LATLONG