]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
url: Fix compile error with --enable-werror
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Sat, 9 Jan 2016 00:51:05 +0000 (09:51 +0900)
committerJay Satiro <raysatiro@yahoo.com>
Sat, 9 Jan 2016 07:26:23 +0000 (02:26 -0500)
lib/url.c

index 925c67deda7499046b861856d93c62a92f38cf5a..75a1c444bdc7fcdbe86c6490427db9464b69a8d5 100644 (file)
--- 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
 }