From 56e719970de0fcbbc6c086159f31f82b5eb35128 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 6 Nov 2013 20:38:37 -0500 Subject: Code is fully cppcheck, splint, and Coverity clean. All regression tests pass. PPS is live. --- libgps_core.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libgps_core.c') diff --git a/libgps_core.c b/libgps_core.c index f19262e7..567cf254 100644 --- a/libgps_core.c +++ b/libgps_core.c @@ -212,6 +212,7 @@ bool gps_waiting(const struct gps_data_t *gpsdata CONDITIONALLY_UNUSED, int time #endif /* SHM_EXPORT_ENABLE */ #ifdef SOCKET_EXPORT_ENABLE + // cppcheck-suppress pointerPositive if ((intptr_t)(gpsdata->gps_fd) >= 0) waiting = gps_sock_waiting(gpsdata, timeout); #endif /* SOCKET_EXPORT_ENABLE */ -- cgit v1.2.1