fix_hostname() now (void)s the conn argument to prevent warnings on non-idn
authorDaniel Stenberg <daniel@haxx.se>
Wed, 5 May 2004 07:08:31 +0000 (07:08 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 5 May 2004 07:08:31 +0000 (07:08 +0000)
enabled builds

lib/url.c

index fdc4378..215a1bb 100644 (file)
--- 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
 }