diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2004-05-05 07:08:31 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2004-05-05 07:08:31 +0000 |
| commit | 35ab93f48462cf6e5dc06c58b21342cb6870cbef (patch) | |
| tree | b7d2c60f9a7ebc35672735dd6cb74766631667b1 /lib | |
| parent | dcf5e52b62c816e4a760d5cb169ac0d36e40cc9f (diff) | |
fix_hostname() now (void)s the conn argument to prevent warnings on non-idn
enabled builds
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/url.c | 2 |
1 files changed, 2 insertions, 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 } |
