From: Daniel Stenberg Date: Wed, 5 May 2004 07:08:31 +0000 (+0000) Subject: fix_hostname() now (void)s the conn argument to prevent warnings on non-idn X-Git-Tag: curl-7_12_0~201 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35ab93f48462cf6e5dc06c58b21342cb6870cbef;p=curl fix_hostname() now (void)s the conn argument to prevent warnings on non-idn enabled builds --- diff --git a/lib/url.c b/lib/url.c index fdc43789b..215a1bbd3 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 }