Remove initialized but otherwise unused variables.
[oota-llvm.git] / lib / CodeGen / LiveInterval.cpp
index 34b58515b68ccd6c082e9582a6cf754c1f1c5a97..21a9b7d4db6f6f9dee36a36146d487222e90f1fc 100644 (file)
@@ -180,7 +180,6 @@ bool LiveInterval::overlaps(SlotIndex Start, SlotIndex End) const {
 void LiveInterval::extendIntervalEndTo(Ranges::iterator I, SlotIndex NewEnd) {
   assert(I != ranges.end() && "Not a valid interval!");
   VNInfo *ValNo = I->valno;
-  SlotIndex OldEnd = I->end;
 
   // Search for the first interval that we can't merge with.
   Ranges::iterator MergeTo = next(I);