diff --git a/lib/hostip.c b/lib/hostip.c index 1a5711f5570a5daa01dcf4403d0b2454e6ffad24..a62e361c4b9af11ab24c3c8b427f4671f7381e3c 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -598,7 +598,7 @@ int Curl_resolv_timeout(struct connectdata *conn, if(timeout) infof(conn->data, "timeout on name lookup is not supported\n"); #else - (void)timeout; /* timeout not used with an async resolver */ + (void)timeoutms; /* timeoutms not used with an async resolver */ #endif #endif /* USE_ALARM_TIMEOUT */