char *uc_name = NULL;
int rc;
#ifndef CURL_DISABLE_VERBOSE_STRINGS
- char *tld_errmsg = "<no msg>";
+ char *tld_errmsg = (char *)"<no msg>";
#else
(void)data;
#endif
static void fix_hostname(struct SessionHandle *data,
struct connectdata *conn, struct hostname *host)
{
+#ifndef USE_LIBIDN
+ (void)data;
+ (void)conn;
+#elif defined(CURL_DISABLE_VERBOSE_STRINGS)
+ (void)conn;
+#endif
+
/* set the name we use to display the host name */
host->dispname = host->name;
host->name = host->encalloc;
}
}
-#else
- (void)data; /* never used */
- (void)conn; /* never used */
-#endif
-#ifdef CURL_DISABLE_VERBOSE_STRINGS
- (void)conn; /* never used */
#endif
}