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 31e2dc87bb
commit b38fcaf496

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;