mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-07 18:21:58 +00:00
Uninitialized variable (in never taken path) after factoring.
llvm-svn: 198131
This commit is contained in:
parent
ed2d925c84
commit
8ce232e334
@ -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…
x
Reference in New Issue
Block a user