1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

fix_hostname() now (void)s the conn argument to prevent warnings on non-idn

enabled builds
This commit is contained in:
Daniel Stenberg 2004-05-05 07:08:31 +00:00
parent dcf5e52b62
commit 35ab93f484

View File

@ -2004,6 +2004,8 @@ static void fix_hostname(struct connectdata *conn, struct hostname *host)
host->name = host->encalloc; host->name = host->encalloc;
} }
} }
#else
(void)conn; /* never used */
#endif #endif
} }