diff options
author | Gary E. Miller <gem@rellim.com> | 2019-03-12 19:11:23 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-03-12 19:11:23 -0700 |
commit | ed23183bb27873b6623cefa3aa09a67a71171a82 (patch) | |
tree | 8ba4e1a266e9ae92277141c937dca67d10ab7ca1 /libgps_json.c | |
parent | 08c8eda1f63c2feaf66146986190c4e689b6bf61 (diff) | |
download | gpsd-ed23183bb27873b6623cefa3aa09a67a71171a82.tar.gz |
libgps_json: remove duplicate CLIMB_SET test
Diffstat (limited to 'libgps_json.c')
-rw-r--r-- | libgps_json.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libgps_json.c b/libgps_json.c index a1bde226..9917f2e5 100644 --- a/libgps_json.c +++ b/libgps_json.c @@ -566,8 +566,6 @@ int libgps_json_unpack(const char *buf, gpsdata->set |= SPEEDERR_SET; if (isfinite(gpsdata->fix.epc) != 0) gpsdata->set |= CLIMBERR_SET; - if (isfinite(gpsdata->fix.epc) != 0) - gpsdata->set |= CLIMBERR_SET; if (gpsdata->fix.mode != MODE_NOT_SEEN) gpsdata->set |= MODE_SET; return FILTER(status); |