From: Daniel Stenberg Date: Mon, 14 Jun 2004 10:45:30 +0000 (+0000) Subject: prevent compiler warnings on non-win32 platforms X-Git-Tag: curl-7_12_1~273 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=070e0e8b0a7401a8610549670f24ded7febdd45c;p=thirdparty%2Fcurl.git prevent compiler warnings on non-win32 platforms --- 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;