diff --git a/llvm/unittests/DebugInfo/LogicalView/LocationRangesTest.cpp b/llvm/unittests/DebugInfo/LogicalView/LocationRangesTest.cpp --- a/llvm/unittests/DebugInfo/LogicalView/LocationRangesTest.cpp +++ b/llvm/unittests/DebugInfo/LogicalView/LocationRangesTest.cpp @@ -349,8 +349,6 @@ // Locations. LVLocation *LocationOne = nullptr; LVLocation *LocationTwo = nullptr; - LVLocation *LocationThree = nullptr; - LVLocation *LocationFour = nullptr; LVLocation *LocationFive = nullptr; LVLocation *LocationSix = nullptr; @@ -393,8 +391,6 @@ // Create the logical locations. LocationOne = create(); LocationTwo = create(); - LocationThree = create(); - LocationFour = create(); LocationFive = create(); LocationSix = create(); } @@ -480,14 +476,6 @@ EXPECT_STREQ(LocationTwo->getIntervalInfo().c_str(), " Lines 200:600 [0x0000005200:0x0000006100]"); - set(LocationThree, LineThree, LineFive, 0x5400, 0x5800); - EXPECT_STREQ(LocationThree->getIntervalInfo().c_str(), - " Lines 300:500 [0x0000005400:0x0000005800]"); - - set(LocationFour, LineFour, LineFour, 0x5600, 0x5700); - EXPECT_STREQ(LocationFour->getIntervalInfo().c_str(), - " Lines 400:400 [0x0000005600:0x0000005700]"); - set(LocationFive, LineFive, LineFive, 0x5800, 0x5900); EXPECT_STREQ(LocationFive->getIntervalInfo().c_str(), " Lines 500:500 [0x0000005800:0x0000005900]");