mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +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:
@@ -2248,7 +2248,7 @@ void GenericSchedulerBase::setPolicy(CandPolicy &Policy,
|
|||||||
CurrZone.findMaxLatency(CurrZone.Pending.elements()));
|
CurrZone.findMaxLatency(CurrZone.Pending.elements()));
|
||||||
|
|
||||||
// Compute the critical resource outside the zone.
|
// Compute the critical resource outside the zone.
|
||||||
unsigned OtherCritIdx;
|
unsigned OtherCritIdx = 0;
|
||||||
unsigned OtherCount =
|
unsigned OtherCount =
|
||||||
OtherZone ? OtherZone->getOtherResourceCount(OtherCritIdx) : 0;
|
OtherZone ? OtherZone->getOtherResourceCount(OtherCritIdx) : 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user