Silence compiler warning about unused variable introduced in r343018

Since the body of the "else if" contains
 // TODO
I suppose someone will need the variable again at some point, but with
-Werror the warning made it not compile at all.

llvm-svn: 343071
This commit is contained in:
Mikael Holmen 2018-09-26 06:19:08 +00:00
parent 32e651e169
commit e4d61182cd
1 changed files with 1 additions and 1 deletions

View File

@ -657,7 +657,7 @@ MCSymbol *MachineFunction::addLandingPad(MachineBasicBlock *LandingPad) {
}
}
} else if (const auto *CPI = dyn_cast<CatchPadInst>(FirstI)) {
} else if (isa<CatchPadInst>(FirstI)) {
// TODO
} else {