From: Tatsuhiro Tsujikawa Date: Sat, 9 Jan 2016 00:51:05 +0000 (+0900) Subject: url: Fix compile error with --enable-werror X-Git-Tag: curl-7_47_0~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5da7461a55ea681829820d8268728e88b7ceb3f6;p=thirdparty%2Fcurl.git url: Fix compile error with --enable-werror --- diff --git a/lib/url.c b/lib/url.c index 925c67deda..75a1c444bd 100644 --- a/lib/url.c +++ b/lib/url.c @@ -3786,6 +3786,8 @@ static void free_fixed_hostname(struct hostname *host) free(host->encalloc); /* must be freed withidn_free() since this was allocated by curl_win32_idn_to_ascii */ host->encalloc = NULL; +#else + (void)host; #endif }