summaryrefslogtreecommitdiff
path: root/gpsmon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-03-08 13:15:48 -0400
committerEric S. Raymond <esr@thyrsus.com>2015-03-08 13:15:48 -0400
commit5a715483cd50180778974d96fdb3c4a8fef598e4 (patch)
tree63e4dee41f410c4c2db8fe9c75b4cebcf9f502ad /gpsmon.c
parent5fdd69a308ec9b799424d90de5a4888a25d51558 (diff)
downloadgpsd-5a715483cd50180778974d96fdb3c4a8fef598e4.tar.gz
splint cleanup of new code.
Diffstat (limited to 'gpsmon.c')
-rw-r--r--gpsmon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpsmon.c b/gpsmon.c
index 88de9b63..2d40ccd1 100644
--- a/gpsmon.c
+++ b/gpsmon.c
@@ -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 */