Skip to content

Commit 8644eb0

Browse files
committed
[NFC][Transforms][Coroutines] Remove unused variable
1 parent bf64918 commit 8644eb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Coroutines/CoroSplit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ void CoroCloner::salvageDebugInfo() {
652652
for (DbgDeclareInst *DDI : Worklist) {
653653
if (IsUnreachableBlock(DDI->getParent()))
654654
DDI->eraseFromParent();
655-
else if (auto *Alloca = dyn_cast_or_null<AllocaInst>(DDI->getAddress())) {
655+
else if (dyn_cast_or_null<AllocaInst>(DDI->getAddress())) {
656656
// Count all non-debuginfo uses in reachable blocks.
657657
unsigned Uses = 0;
658658
for (auto *User : DDI->getAddress()->users())

0 commit comments

Comments
 (0)