diff --git a/llvm/unittests/Transforms/Utils/LocalTest.cpp b/llvm/unittests/Transforms/Utils/LocalTest.cpp index c37ed5d8613b0..896e1de8b32f3 100644 --- a/llvm/unittests/Transforms/Utils/LocalTest.cpp +++ b/llvm/unittests/Transforms/Utils/LocalTest.cpp @@ -679,7 +679,6 @@ TEST(Local, FindDbgRecords) { findDbgUsers(Arg, Records); EXPECT_EQ(Records.size(), 1u); - SmallVector Vals; Records.clear(); // Arg (%a) is used twice by a single dbg_assign. Check findDbgValues returns // only 1 pointer to it rather than 2.