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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=35ab93f48462cf6e5dc06c58b21342cb6870cbef;p=thirdparty%2Fcurl.git 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 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 }