summaryrefslogtreecommitdiff
path: root/src/src/ip.c
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2020-06-28 14:16:20 +0100
committerJeremy Harris <jgh146exb@wizmail.org>2020-06-28 14:16:20 +0100
commit2bde51964df7b459f1cc6853ffa7f5466d02554f (patch)
tree50f0b2281883943e8d88717026049eda9a3e11fb /src/src/ip.c
parentf15b0e22422af2e14091e0ac6a58454b6849cba6 (diff)
Remove attempts to quieten compiler static-checking (more)
Diffstat (limited to 'src/src/ip.c')
-rw-r--r--src/src/ip.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/src/ip.c b/src/src/ip.c
index a5958e95e..c09962a38 100644
--- a/src/src/ip.c
+++ b/src/src/ip.c
@@ -127,8 +127,6 @@ if (af == AF_INET6)
return sizeof(sin->v6);
}
else
-#else /* HAVE_IPv6 */
-af = af; /* Avoid compiler warning */
#endif /* HAVE_IPV6 */
/* Setup code when using IPv4 socket. The wildcard address is "". */
@@ -209,8 +207,6 @@ if (af == AF_INET6)
s_len = sizeof(s_in6);
}
else
-#else /* HAVE_IPV6 */
-af = af; /* Avoid compiler warning */
#endif /* HAVE_IPV6 */
/* For an IPv4 address, use an IPv4 sockaddr structure, even on a system with