mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1168586 - Initialize oomAfter_ member to avoid warnings r=terrence
This commit is contained in:
parent
45d69f0457
commit
3d650eb726
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user