Skip to content

Commit 17c3538

Browse files
committed
Revert "Fix unused variable in CoroFrame.cpp when building Release with GCC 10"
This reverts commit ff5e896.
1 parent 51faba3 commit 17c3538

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

llvm/lib/Transforms/Coroutines/CoroFrame.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1549,7 +1549,6 @@ static void rewritePHIs(BasicBlock &BB) {
15491549
for (BasicBlock *Pred : Preds) {
15501550
if (CatchSwitchInst *CS =
15511551
dyn_cast<CatchSwitchInst>(Pred->getTerminator())) {
1552-
(void)CS;
15531552
// CleanupPad with a CatchSwitch predecessor: therefore this is an
15541553
// unwind destination that needs to be handle specially.
15551554
assert(CS->getUnwindDest() == &BB);

0 commit comments

Comments
 (0)