Skip to content

Commit

Permalink
Fix an unused-variable warning in Release mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
jyknight committed Apr 9, 2020
1 parent 133049d commit 5e7b98f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
Expand Up @@ -192,6 +192,7 @@ PPCMCCodeEmitter::getMemRI34PCRelEncoding(const MCInst &MI, unsigned OpNo,
if (MO.isExpr()) {
const MCExpr *Expr = MO.getExpr();
const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(Expr);
(void)SRE;
assert(SRE->getKind() == MCSymbolRefExpr::VK_PCREL &&
"VariantKind must be VK_PCREL");
Fixups.push_back(
Expand Down

0 comments on commit 5e7b98f

Please sign in to comment.