summaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-14 10:45:30 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-14 10:45:30 +0000
commit070e0e8b0a7401a8610549670f24ded7febdd45c (patch)
tree09abdf79474535574e50e849434f4e00003bbaa6 /ares
parent2ed0728cef3e8ab6e448e902cbb8aac621aafc4b (diff)
downloadcurl-070e0e8b0a7401a8610549670f24ded7febdd45c.tar.gz
prevent compiler warnings on non-win32 platforms
Diffstat (limited to 'ares')
-rw-r--r--ares/ares_init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ares/ares_init.c b/ares/ares_init.c
index 72ef990fb..bd2323452 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;