summaryrefslogtreecommitdiff
path: root/driver_ubx.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-07-24 15:22:45 -0700
committerGary E. Miller <gem@rellim.com>2018-07-24 15:22:45 -0700
commit98d90b10c1e275570d2aef86a92192cae8415ab4 (patch)
tree4dd9d10d579fa04f1bcfe567bf1eaf6bc6ce83f3 /driver_ubx.c
parent71f35a528e00ba488d8560031238d8928fab1cb0 (diff)
downloadgpsd-98d90b10c1e275570d2aef86a92192cae8415ab4.tar.gz
driver_ubx: remove set, but unused fTOW.
Diffstat (limited to 'driver_ubx.c')
-rw-r--r--driver_ubx.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/driver_ubx.c b/driver_ubx.c
index 76ed6cea..740d548a 100644
--- a/driver_ubx.c
+++ b/driver_ubx.c
@@ -443,7 +443,6 @@ ubx_msg_nav_timegps(struct gps_device_t *session, unsigned char *buf,
size_t data_len)
{
unsigned int gw, iTOW, flags;
- int fTOW;
gps_mask_t mask = 0;
if (data_len != 16)
@@ -459,7 +458,6 @@ ubx_msg_nav_timegps(struct gps_device_t *session, unsigned char *buf,
#undef VALID_TIME
{
iTOW = (unsigned int)getleu32(buf, 0);
- fTOW = (int)getles32(buf, 4);
gw = (unsigned int)getles16(buf, 8);
session->newdata.time =
gpsd_gpstime_resolve(session,