Bug 1168586 - Initialize oomAfter_ member to avoid warnings r=terrence

This commit is contained in:
Jon Coppeard 2015-05-29 10:43:31 +01:00
parent 45d69f0457
commit 3d650eb726

View File

@ -1408,7 +1408,7 @@ class AutoEnterOOMUnsafeRegion
public:
AutoEnterOOMUnsafeRegion()
: oomEnabled_(OOM_maxAllocations != UINT32_MAX)
: oomEnabled_(OOM_maxAllocations != UINT32_MAX), oomAfter_(0)
{
if (oomEnabled_) {
oomAfter_ = OOM_maxAllocations - OOM_counter;