Skip to content

Commit 6196379

Browse files
committed
[PowerPC] Fix -Wunused-variable
1 parent 19730e3 commit 6196379

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ PPCELFObjectWriter::PPCELFObjectWriter(bool Is64Bit, uint8_t OSABI)
4141
unsigned PPCELFObjectWriter::getRelocType(MCContext &Ctx, const MCValue &Target,
4242
const MCFixup &Fixup,
4343
bool IsPCRel) const {
44-
MCFixupKind Kind = Fixup.getKind();
4544
SMLoc Loc = Fixup.getValue()->getLoc();
4645
auto Spec = static_cast<PPCMCExpr::Specifier>(Target.getSpecifier());
4746
switch (Spec) {

0 commit comments

Comments
 (0)