diff --git a/lib/url.c b/lib/url.c index fdc43789b1..215a1bbd3d 100644 --- a/lib/url.c +++ b/lib/url.c @@ -2004,6 +2004,8 @@ static void fix_hostname(struct connectdata *conn, struct hostname *host) host->name = host->encalloc; } } +#else + (void)conn; /* never used */ #endif }