From 35ab93f48462cf6e5dc06c58b21342cb6870cbef Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Wed, 5 May 2004 07:08:31 +0000
Subject: [PATCH] fix_hostname() now (void)s the conn argument to prevent
 warnings on non-idn enabled builds

---
 lib/url.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/url.c b/lib/url.c
index fdc43789b1..215a1bbd3d 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
 }
 
-- 
GitLab