Skip to content

Commit 636e370

Browse files
[Utils] Remove an unused local variable (NFC) (#168181)
Identified with bugprone-unused-local-non-trivial-variable.
1 parent 59d2e93 commit 636e370

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/unittests/Transforms/Utils/LocalTest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,6 @@ TEST(Local, FindDbgRecords) {
679679
findDbgUsers(Arg, Records);
680680
EXPECT_EQ(Records.size(), 1u);
681681

682-
SmallVector<DbgValueInst *> Vals;
683682
Records.clear();
684683
// Arg (%a) is used twice by a single dbg_assign. Check findDbgValues returns
685684
// only 1 pointer to it rather than 2.

0 commit comments

Comments
 (0)