summaryrefslogtreecommitdiff
path: root/ppsthread.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-21 05:03:27 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-21 05:03:27 -0400
commit84bf9406e5300602101da1dd8c05c62467cfded0 (patch)
tree1b50e8c11d2a1ff4edda511f6cd5721c91b67d16 /ppsthread.c
parentde0863cfdbe13333745e27b8d58dc40fc8bca191 (diff)
downloadgpsd-84bf9406e5300602101da1dd8c05c62467cfded0.tar.gz
splint/cppcheck/coverity 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 ed5c7efd..49883cb3 100644
--- a/ppsthread.c
+++ b/ppsthread.c
@@ -340,6 +340,7 @@ static /*@null@*/ void *gpsd_ppsmonitor(void *arg)
#endif /* TIOCMIWAIT */
/* ok and log used by KPPS and TIOCMIWAIT */
+ // cppcheck-suppress redundantAssignment
ok = false;
log = NULL;
#if defined(HAVE_SYS_TIMEPPS_H) && !defined(S_SPLINT_S)