bug 869279 - fix mingw warnings in netwerk/ r=jduell

This commit is contained in:
Trevor Saunders 2013-05-06 21:52:35 -04:00
parent 609e523ba7
commit 03a46bf6e7
3 changed files with 2 additions and 8 deletions

View File

@ -43,8 +43,8 @@ PRIntervalTime nsAutodial::mDontRetryUntil = 0;
// ctor.
nsAutodial::nsAutodial()
: mAutodialBehavior(AUTODIAL_DEFAULT),
mNumRASConnectionEntries(0),
mAutodialServiceDialingLocation(-1)
mAutodialServiceDialingLocation(-1),
mNumRASConnectionEntries(0)
{
// Initializations that can be made again since RAS OS settings can
// change.

View File

@ -947,8 +947,6 @@ nsSocketTransportService::ProbeMaxCount()
return;
mProbedMaxCount = true;
int32_t startedMaxCount = gMaxCount;
// Allocate and test a PR_Poll up to the gMaxCount number of unconnected
// sockets. See bug 692260 - windows should be able to handle 1000 sockets
// in select() without a problem, but LSPs have been known to balk at lower

View File

@ -320,10 +320,6 @@ nsNotifyAddrListener::CheckICSStatus(PWCHAR aAdapterName)
DWORD
nsNotifyAddrListener::CheckAdaptersAddresses(void)
{
static const DWORD flags =
GAA_FLAG_SKIP_FRIENDLY_NAME | GAA_FLAG_SKIP_ANYCAST |
GAA_FLAG_SKIP_MULTICAST | GAA_FLAG_SKIP_DNS_SERVER;
ULONG len = 16384;
PIP_ADAPTER_ADDRESSES addresses = (PIP_ADAPTER_ADDRESSES) malloc(len);