1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

url: Fix compile error with --enable-werror

This commit is contained in:
Tatsuhiro Tsujikawa 2016-01-09 09:51:05 +09:00 committed by Jay Satiro
parent b019af41e7
commit 5da7461a55

View File

@ -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
}