mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-23 19:59:57 +00:00
Uninitialized variable (in never taken path) after factoring.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198131 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6c9712fecb
commit
7d1a69d826
@ -2248,7 +2248,7 @@ void GenericSchedulerBase::setPolicy(CandPolicy &Policy,
|
||||
CurrZone.findMaxLatency(CurrZone.Pending.elements()));
|
||||
|
||||
// Compute the critical resource outside the zone.
|
||||
unsigned OtherCritIdx;
|
||||
unsigned OtherCritIdx = 0;
|
||||
unsigned OtherCount =
|
||||
OtherZone ? OtherZone->getOtherResourceCount(OtherCritIdx) : 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user