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 da80a37c1d
commit 6e4f3de1d5

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();
}