Skip to content

Commit 5e7b98f

Browse files
committed
Fix an unused-variable warning in Release mode.
1 parent 133049d commit 5e7b98f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ PPCMCCodeEmitter::getMemRI34PCRelEncoding(const MCInst &MI, unsigned OpNo,
192192
if (MO.isExpr()) {
193193
const MCExpr *Expr = MO.getExpr();
194194
const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(Expr);
195+
(void)SRE;
195196
assert(SRE->getKind() == MCSymbolRefExpr::VK_PCREL &&
196197
"VariantKind must be VK_PCREL");
197198
Fixups.push_back(

0 commit comments

Comments
 (0)