summaryrefslogtreecommitdiff
path: root/lib/strerror.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-10-05 08:42:56 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-10-05 08:42:56 +0000
commit70c3f6a8ddf5d2d358544e38fcadd8d4c1581e29 (patch)
treeb441d6676c61767b99f4efc1770dace47fdbe3ad /lib/strerror.c
parentbb999d82134b73a500ce7dfecc5b1175930584c2 (diff)
downloadcurl-70c3f6a8ddf5d2d358544e38fcadd8d4c1581e29.tar.gz
avoid warning for unused variable
Diffstat (limited to 'lib/strerror.c')
-rw-r--r--lib/strerror.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/strerror.c b/lib/strerror.c
index c9e6c3a18..dd5acc81b 100644
--- a/lib/strerror.c
+++ b/lib/strerror.c
@@ -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;