mirror of https://github.com/moparisthebest/curl
prevent compiler warnings on non-win32 platforms
This commit is contained in:
parent
2ed0728cef
commit
070e0e8b0a
|
@ -406,7 +406,7 @@ DhcpNameServer
|
||||||
{
|
{
|
||||||
status = config_nameserver(&servers, &nservers, buf);
|
status = config_nameserver(&servers, &nservers, buf);
|
||||||
if (status == ARES_SUCCESS)
|
if (status == ARES_SUCCESS)
|
||||||
goto okay;
|
goto okay;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (IsNT)
|
if (IsNT)
|
||||||
|
@ -552,7 +552,9 @@ DhcpNameServer
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If we got any name server entries, fill them in. */
|
/* If we got any name server entries, fill them in. */
|
||||||
|
#ifdef WIN32
|
||||||
okay:
|
okay:
|
||||||
|
#endif
|
||||||
if (servers)
|
if (servers)
|
||||||
{
|
{
|
||||||
channel->servers = servers;
|
channel->servers = servers;
|
||||||
|
|
Loading…
Reference in New Issue