From 5da7461a55ea681829820d8268728e88b7ceb3f6 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 9 Jan 2016 09:51:05 +0900 Subject: [PATCH] url: Fix compile error with --enable-werror --- lib/url.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/url.c b/lib/url.c index 925c67ded..75a1c444b 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 }