summaryrefslogtreecommitdiff
path: root/isgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-19 16:11:52 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-19 16:11:52 -0500
commit944914be5fcb4c176279a8fc8cd14a07eeb46822 (patch)
tree0479045256e60c2928182ff0876f76e23e44ad88 /isgps.c
parent4ac774d5a48fc7341904cd61858532e383adc726 (diff)
downloadgpsd-944914be5fcb4c176279a8fc8cd14a07eeb46822.tar.gz
Code is now static-checker clean with splint, cppcheck, and Coverity.
All regression tests pass. PPS is live.
Diffstat (limited to 'isgps.c')
-rw-r--r--isgps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/isgps.c b/isgps.c
index 1e094f26..59d48699 100644
--- a/isgps.c
+++ b/isgps.c
@@ -177,6 +177,8 @@ void isgps_init( /*@out@*/ struct gps_packet_t *session)
}
/*@ -usereleased -compdef @*/
+// This works around cppcheck not looking into enough config branches
+// cppcheck-suppress unusedFunction
enum isgpsstat_t isgps_decode(struct gps_packet_t *session,
bool(*preamble_match) (isgps30bits_t *),
bool(*length_check) (struct gps_packet_t *),