aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip4.c
diff options
context:
space:
mode:
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 */