aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-01-09 09:51:05 +0900
committerJay Satiro <raysatiro@yahoo.com>2016-01-09 02:26:23 -0500
commit5da7461a55ea681829820d8268728e88b7ceb3f6 (patch)
treeb1c5e6fa14e9621c9f400369e62f653b2bf41452 /lib
parentb019af41e7d09cb75c461e33de5ce7a8c461dc43 (diff)
url: Fix compile error with --enable-werror
Diffstat (limited to 'lib')
-rw-r--r--lib/url.c2
1 files changed, 2 insertions, 0 deletions
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
}