From 070e0e8b0a7401a8610549670f24ded7febdd45c Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Mon, 14 Jun 2004 10:45:30 +0000
Subject: [PATCH] prevent compiler warnings on non-win32 platforms

---
 ares/ares_init.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ares/ares_init.c b/ares/ares_init.c
index 72ef990fb4..bd23234529 100644
--- a/ares/ares_init.c
+++ b/ares/ares_init.c
@@ -406,7 +406,7 @@ DhcpNameServer
   {
     status = config_nameserver(&servers, &nservers, buf);
     if (status == ARES_SUCCESS)
-       goto okay;
+      goto okay;
   }
 
   if (IsNT)
@@ -552,7 +552,9 @@ DhcpNameServer
     }
 
   /* If we got any name server entries, fill them in. */
+#ifdef WIN32
 okay:
+#endif
   if (servers)
     {
       channel->servers = servers;
-- 
GitLab