summaryrefslogtreecommitdiff
path: root/monitor_italk.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-29 07:57:18 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-03-29 07:57:18 -0400
commitdb7d7be4c385b0810378db4f5580b5dc8dcfb1ee (patch)
treedab588924b29d7b66800d1b0560f8c3a2c584e6a /monitor_italk.c
parent41160f7fa55bc99a3e7a57a957dcae22f33069cb (diff)
downloadgpsd-db7d7be4c385b0810378db4f5580b5dc8dcfb1ee.tar.gz
scan-build and splint cleanup. All regression tests pass.
Diffstat (limited to 'monitor_italk.c')
-rw-r--r--monitor_italk.c4
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);