diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-29 07:57:18 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-29 07:57:18 -0400 |
commit | db7d7be4c385b0810378db4f5580b5dc8dcfb1ee (patch) | |
tree | dab588924b29d7b66800d1b0560f8c3a2c584e6a /monitor_italk.c | |
parent | 41160f7fa55bc99a3e7a57a957dcae22f33069cb (diff) | |
download | gpsd-db7d7be4c385b0810378db4f5580b5dc8dcfb1ee.tar.gz |
scan-build and splint cleanup. All regression tests pass.
Diffstat (limited to 'monitor_italk.c')
-rw-r--r-- | monitor_italk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/monitor_italk.c b/monitor_italk.c index f38cc851..1bb79a76 100644 --- a/monitor_italk.c +++ b/monitor_italk.c @@ -71,7 +71,7 @@ static bool italk_initialize(void) static void display_itk_navfix(unsigned char *buf, size_t len) { - unsigned int tow, tod, nsec, d, svlist; + unsigned int tow, tod, d, svlist; unsigned short gps_week, nsv; unsigned short year, mon, day, hour, min, sec; double epx, epy, epz, evx, evy, evz; @@ -95,7 +95,7 @@ static void display_itk_navfix(unsigned char *buf, size_t len) hour = (ushort) getleu16(buf, 7 + 66); min = (ushort) getleu16(buf, 7 + 68); sec = (ushort) getleu16(buf, 7 + 70); - nsec = (ushort) getleu32(buf, 7 + 72); + //nsec = (ushort) getleu32(buf, 7 + 72); year = (ushort) getleu16(buf, 7 + 76); mon = (ushort) getleu16(buf, 7 + 78); day = (ushort) getleu16(buf, 7 + 80); |