diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-05-25 22:12:57 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-05-25 22:12:57 +0000 |
commit | 50e9522a06bc8f04d81a7d418fc7810f00ceb141 (patch) | |
tree | d829fecc9bbdc0e48d0d5b81838d37a3b1f3023e /tests | |
parent | b5bb9aa8e3323305592b797b2c7473684cf6d9f3 (diff) |
silense a warning
Diffstat (limited to 'tests')
-rw-r--r-- | tests/server/sockfilt.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c index 3274127c8..eec0cd39f 100644 --- a/tests/server/sockfilt.c +++ b/tests/server/sockfilt.c @@ -435,8 +435,10 @@ static curl_socket_t mksock(bool use_ipv6) curl_socket_t sock; #ifdef ENABLE_IPV6 if(!use_ipv6) +#else + (void)use_ipv6; #endif - sock = socket(AF_INET, SOCK_STREAM, 0); + sock = socket(AF_INET, SOCK_STREAM, 0); #ifdef ENABLE_IPV6 else sock = socket(AF_INET6, SOCK_STREAM, 0); |