diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-09-16 04:32:57 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-09-16 04:32:57 -0400 |
commit | f31e34adddc8f0c70208ac2f74200f3a81e39d90 (patch) | |
tree | 19dd90317929ccf06fcb24aedbd4aed776ccff7a /netlib.c | |
parent | 5d9055b96090305a877e892cafb56f497374d519 (diff) | |
download | gpsd-f31e34adddc8f0c70208ac2f74200f3a81e39d90.tar.gz |
splint cleanup. All regression tests pass.
Diffstat (limited to 'netlib.c')
-rw-r--r-- | netlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -140,7 +140,7 @@ socket_t netlib_connectsock(int af, const char *host, const char *service, #endif /* set socket to noblocking */ - fcntl(s, F_SETFL, fcntl(s, F_GETFL) | O_NONBLOCK); + (void)fcntl(s, F_SETFL, fcntl(s, F_GETFL) | O_NONBLOCK); gpsd_report(LOG_SPIN, "netlib_connectsock() returns socket on fd %d\n", s); |