aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}