mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
Bug 969908 - Stop checking the return value of nsTArray::SetLength in MobileConnectionArray; r=khuey
This commit is contained in:
parent
589c48df61
commit
06ce6ca076
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user