summaryrefslogtreecommitdiff
path: root/ppsthread.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-25 05:07:58 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-25 05:07:58 -0500
commite6a6c3a643b4840d6266e29911c7cc29fcec30b7 (patch)
tree7c019fec0f0703120e5976cba54687075b96eb82 /ppsthread.c
parent8a9a4c7de7c5c1e7aca6067966987f92abe15bfe (diff)
downloadgpsd-e6a6c3a643b4840d6266e29911c7cc29fcec30b7.tar.gz
Static checker cleanup.
Diffstat (limited to 'ppsthread.c')
-rw-r--r--ppsthread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ppsthread.c b/ppsthread.c
index 9bbf016c..0833e14c 100644
--- a/ppsthread.c
+++ b/ppsthread.c
@@ -105,6 +105,7 @@ static int init_kernel_pps(struct gps_device_t *session)
* On BSDs that support RFC2783, one uses the API calls on serial
* port file descriptor.
*/
+ // cppcheck-suppress redundantAssignment
ret = session->gpsdata.gps_fd;
#else /* linux */
/*