mirror of
https://github.com/curl/curl.git
synced 2026-06-05 06:24:15 +03:00
fix_hostname() now (void)s the conn argument to prevent warnings on non-idn
enabled builds
This commit is contained in:
parent
dcf5e52b62
commit
35ab93f484
1 changed files with 2 additions and 0 deletions
|
|
@ -2004,6 +2004,8 @@ static void fix_hostname(struct connectdata *conn, struct hostname *host)
|
|||
host->name = host->encalloc;
|
||||
}
|
||||
}
|
||||
#else
|
||||
(void)conn; /* never used */
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue