aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip4.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-03-25 01:59:52 +0000
committerYang Tse <yangsita@gmail.com>2007-03-25 01:59:52 +0000
commitd6eca8922960f2e3bf2cd07eef3eebbdb7ee265a (patch)
tree35b8830ca0274fa10389eede6674f8881594965c /lib/hostip4.c
parent2bd1d7e996e8c781f14af8d3e7d0ffbd4033d5f1 (diff)
fix compiler warning
Diffstat (limited to 'lib/hostip4.c')
-rw-r--r--lib/hostip4.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/hostip4.c b/lib/hostip4.c
index d2cd81911..d092d2718 100644
--- a/lib/hostip4.c
+++ b/lib/hostip4.c
@@ -129,6 +129,10 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
in_addr_t in;
struct hostent *buf = NULL;
+#ifdef CURL_DISABLE_VERBOSE_STRINGS
+ (void)conn;
+#endif
+
(void)port; /* unused in IPv4 code */
*waitp = 0; /* don't wait, we act synchronously */