diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-05 01:56:24 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-01-05 01:56:24 +0100 |
commit | d8f04556beca666d1f932a289f2437cbe6b53958 (patch) | |
tree | 09e9e879c403f16cb58ad4e7d78d1096f3cc0fbe /src/lib/geo/geo.c | |
parent | f9e810d915ad53962e136f9f9e5cf285765fb59f (diff) | |
download | px4-firmware-d8f04556beca666d1f932a289f2437cbe6b53958.tar.gz px4-firmware-d8f04556beca666d1f932a289f2437cbe6b53958.tar.bz2 px4-firmware-d8f04556beca666d1f932a289f2437cbe6b53958.zip |
Strip unused variable
Diffstat (limited to 'src/lib/geo/geo.c')
-rw-r--r-- | src/lib/geo/geo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/geo/geo.c b/src/lib/geo/geo.c index 43105fdba..ce2c64a59 100644 --- a/src/lib/geo/geo.c +++ b/src/lib/geo/geo.c @@ -199,7 +199,6 @@ __EXPORT float get_bearing_to_next_waypoint(double lat_now, double lon_now, doub double lat_next_rad = lat_next * M_DEG_TO_RAD; double lon_next_rad = lon_next * M_DEG_TO_RAD; - double d_lat = lat_next_rad - lat_now_rad; double d_lon = lon_next_rad - lon_now_rad; /* conscious mix of double and float trig function to maximize speed and efficiency */ |