mirror of
https://github.com/curl/curl.git
synced 2026-06-05 10:04:17 +03:00
avoid warning for unused variable
This commit is contained in:
parent
bb999d8213
commit
70c3f6a8dd
1 changed files with 1 additions and 0 deletions
|
|
@ -568,6 +568,7 @@ const char *Curl_strerror(struct connectdata *conn, int err)
|
|||
const char *Curl_idn_strerror (struct connectdata *conn, int err)
|
||||
{
|
||||
#ifdef HAVE_IDNA_STRERROR
|
||||
(void)conn;
|
||||
return idna_strerror((Idna_rc) err);
|
||||
#else
|
||||
const char *str;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue