summaryrefslogtreecommitdiff
path: root/net_dgpsip.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-06 20:38:37 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-06 20:38:37 -0500
commit56e719970de0fcbbc6c086159f31f82b5eb35128 (patch)
treeeec477c566d221cb1823935155231f38036e778c /net_dgpsip.c
parentf1e30c3197910f319cf2d624666be87a0580b82a (diff)
downloadgpsd-56e719970de0fcbbc6c086159f31f82b5eb35128.tar.gz
Code is fully cppcheck, splint, and Coverity clean.
All regression tests pass. PPS is live.
Diffstat (limited to 'net_dgpsip.c')
-rw-r--r--net_dgpsip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net_dgpsip.c b/net_dgpsip.c
index c7d305c5..b74ab758 100644
--- a/net_dgpsip.c
+++ b/net_dgpsip.c
@@ -34,6 +34,7 @@ int dgpsip_open(struct gps_device_t *device, const char *dgpsserver)
device->gpsdata.gps_fd =
netlib_connectsock(AF_UNSPEC, dgpsserver, dgpsport, "tcp");
+ // cppcheck-suppress pointerPositive
if (device->gpsdata.gps_fd >= 0) {
char hn[256], buf[BUFSIZ];
gpsd_report(device->context->debug, LOG_PROG,