From 944914be5fcb4c176279a8fc8cd14a07eeb46822 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 19 Nov 2013 16:11:52 -0500 Subject: Code is now static-checker clean with splint, cppcheck, and Coverity. All regression tests pass. PPS is live. --- isgps.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'isgps.c') 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 *), -- cgit v1.2.1