summaryrefslogtreecommitdiff
path: root/libgpsd_core.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-03-25 14:56:40 -0700
committerGary E. Miller <gem@rellim.com>2015-03-25 14:57:01 -0700
commit69ba1d69d9762170f16351713f805409585345f8 (patch)
treedd4f898a35c7c07c00427c7d9d81dbbbcdbcd9bc /libgpsd_core.c
parentcf8058fd7397df0c512434db278667ca4b93be05 (diff)
downloadgpsd-69ba1d69d9762170f16351713f805409585345f8.tar.gz
Fix 4 places: Line expects to suppress X errors, found 0 errors
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c
index e2afbc13..e29fb7d9 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -446,10 +446,10 @@ void gpsd_clear(struct gps_device_t *session)
/* set up the context structure for the PPS thread monitor */
memset((void *)&session->pps_thread, 0, sizeof(session->pps_thread));
session->pps_thread.devicefd = session->gpsdata.gps_fd;
- /*@i2@*/session->pps_thread.devicename = session->gpsdata.dev.path;
+ session->pps_thread.devicename = session->gpsdata.dev.path;
session->pps_thread.pps_hook = NULL;
session->pps_thread.log_hook = ppsthread_log;
- /*@i4@*/session->pps_thread.context = (void *)session;
+ session->pps_thread.context = (void *)session;
#endif /* PPS_ENABLE */
session->opentime = time(NULL);
@@ -1440,8 +1440,7 @@ gps_mask_t gpsd_poll(struct gps_device_t *session)
gps_merge_fix(&session->gpsdata.fix,
session->gpsdata.set, &session->newdata);
#ifndef NOFLOATS_ENABLE
- /*@i1@*/gpsd_error_model(session,
- &session->gpsdata.fix, &session->oldfix);
+ gpsd_error_model(session, &session->gpsdata.fix, &session->oldfix);
#endif /* NOFLOATS_ENABLE */
/*@+nullderef -nullpass@*/
@@ -1606,7 +1605,7 @@ int gpsd_multipoll(const bool data_ready,
/* handle data contained in this packet */
if (device->lexer.type != BAD_PACKET)
- /*@i1@*/handler(device, changed);
+ handler(device, changed);
#ifdef __future__
/*