aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-05-05 07:08:31 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-05-05 07:08:31 +0000
commit35ab93f48462cf6e5dc06c58b21342cb6870cbef (patch)
treeb7d2c60f9a7ebc35672735dd6cb74766631667b1 /lib
parentdcf5e52b62c816e4a760d5cb169ac0d36e40cc9f (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.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index fdc43789b..215a1bbd3 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2004,6 +2004,8 @@ static void fix_hostname(struct connectdata *conn, struct hostname *host)
host->name = host->encalloc;
}
}
+#else
+ (void)conn; /* never used */
#endif
}