mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-14 17:06:38 +00:00
[PowerPC] Fix -Wunused-variable
This commit is contained in:
parent
19730e37ec
commit
6196379baf
@ -41,7 +41,6 @@ PPCELFObjectWriter::PPCELFObjectWriter(bool Is64Bit, uint8_t OSABI)
|
||||
unsigned PPCELFObjectWriter::getRelocType(MCContext &Ctx, const MCValue &Target,
|
||||
const MCFixup &Fixup,
|
||||
bool IsPCRel) const {
|
||||
MCFixupKind Kind = Fixup.getKind();
|
||||
SMLoc Loc = Fixup.getValue()->getLoc();
|
||||
auto Spec = static_cast<PPCMCExpr::Specifier>(Target.getSpecifier());
|
||||
switch (Spec) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user