diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-01-21 18:23:46 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-01-21 18:23:46 -0500 |
commit | ab59cbb7b64909090d64866ebdf43fd27f584c5d (patch) | |
tree | c80d25e389f74cd506a733f8106235693b93f092 /driver_oncore.c | |
parent | aeb3bdae85bddab96c749dfc07ecf6d7e0b2fdf2 (diff) | |
download | gpsd-ab59cbb7b64909090d64866ebdf43fd27f584c5d.tar.gz |
Coverity/splint cleanup.
Turned up a bug in where a counter was incremented un the Navcom driver;
this required one test rebuild.
Diffstat (limited to 'driver_oncore.c')
-rw-r--r-- | driver_oncore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_oncore.c b/driver_oncore.c index 36c26de3..8cea6e7c 100644 --- a/driver_oncore.c +++ b/driver_oncore.c @@ -109,7 +109,7 @@ oncore_msg_navsol(struct gps_device_t *session, unsigned char *buf, unpacked_date.tm_sec = (int)getub(buf, 10); unpacked_date.tm_isdst = 0; #ifdef S_SPLINT_S - unpacked_date. tm_wday = unpacked_date. tm_yday = 0; + unpacked_date.tm_wday = unpacked_date.tm_yday = 0; #endif /* S_SPLINT_S */ nsec = (uint) getbeu32(buf, 11); |