diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2015-03-08 13:15:48 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2015-03-08 13:15:48 -0400 |
commit | 5a715483cd50180778974d96fdb3c4a8fef598e4 (patch) | |
tree | 63e4dee41f410c4c2db8fe9c75b4cebcf9f502ad /gpsmon.c | |
parent | 5fdd69a308ec9b799424d90de5a4888a25d51558 (diff) | |
download | gpsd-5a715483cd50180778974d96fdb3c4a8fef598e4.tar.gz |
splint cleanup of new code.
Diffstat (limited to 'gpsmon.c')
-rw-r--r-- | gpsmon.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -852,7 +852,7 @@ static void gpsmon_hook(struct gps_device_t *device, gps_mask_t changed UNUSED) * and it is a new second. */ if ( 0 != isnan(device->newdata.time)) { // "NTP: bad new time -#ifdef PPS_ENABLE +#if defined(PPS_ENABLE) && !defined(S_SPLINT_S) } else if (device->newdata.time <= device->pps_thread.fixin_real.tv_sec) { // "NTP: Not a new time #endif /* PPS_ENABLE */ |