Bug 969908 - Stop checking the return value of nsTArray::SetLength in MobileConnectionArray; r=khuey

This commit is contained in:
Ehsan Akhgari 2014-02-09 09:00:49 -05:00
parent 589c48df61
commit 06ce6ca076

View File

@ -38,8 +38,7 @@ MobileConnectionArray::MobileConnectionArray(nsPIDOMWindow* aWindow)
uint32_t numRil = mozilla::Preferences::GetUint("ril.numRadioInterfaces", 1);
MOZ_ASSERT(numRil > 0);
bool ret = mMobileConnections.SetLength(numRil);
MOZ_ASSERT(ret);
mMobileConnections.SetLength(numRil);
SetIsDOMBinding();
}