summaryrefslogtreecommitdiff
path: root/netlib.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-09-17 08:02:43 -0400
committerEric S. Raymond <esr@thyrsus.com>2013-09-17 08:02:43 -0400
commita34118b0a18820dc7d034dd04a0108c77ec12326 (patch)
tree528052d8b2f437a8ededa2f66f0a93d250b50670 /netlib.c
parent5773220c46e95b57a8c206f1621dd5139896182e (diff)
downloadgpsd-a34118b0a18820dc7d034dd04a0108c77ec12326.tar.gz
More cppcheck cleanup.
Diffstat (limited to 'netlib.c')
-rw-r--r--netlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/netlib.c b/netlib.c
index 21bb6dbe..7cd3bdff 100644
--- a/netlib.c
+++ b/netlib.c
@@ -33,6 +33,7 @@ socket_t netlib_connectsock(int af, const char *host, const char *service,
socket_t s = -1;
bool bind_me;
+ /* cppcheck-suppress redundantAssignment */
INVALIDATE_SOCKET(s);
/*@-type@*/
ppe = getprotobyname(protocol);