diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-01-21 14:54:52 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-01-21 14:54:52 -0500 |
commit | aeb3bdae85bddab96c749dfc07ecf6d7e0b2fdf2 (patch) | |
tree | 5d5e3942e1d81ec3d3de8b1ca4d6bd3d4b305aba /gpsd.c | |
parent | cff19bf788a09366df98f24b66c20aca8450bd99 (diff) | |
download | gpsd-aeb3bdae85bddab96c749dfc07ecf6d7e0b2fdf2.tar.gz |
More splint cleanup. All regression tests pass.
Diffstat (limited to 'gpsd.c')
-rw-r--r-- | gpsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1541,7 +1541,7 @@ static void all_reports(struct gps_device_t *device, gps_mask_t changed) //gpsd_report(&context.errout, LOG_PROG, "NTP: Not a new time\n"); } else if (!device->ship_to_ntpd) { //gpsd_report(&context.errout, LOG_PROG, "NTP: No precision time report\n"); - } else { + } else if (device->shm_clock != NULL) { /*@-compdef@*/ struct timedrift_t td; ntpshm_latch(device, &td); |