forked from OSchip/llvm-project
Removing a switch statement that contains a default label, but no case labels. Silences an MSVC warning; NFC.
llvm-svn: 285806
This commit is contained in:
parent
c17e0b6f68
commit
3ac3a7efff
|
@ -37,11 +37,7 @@ unsigned RISCVELFObjectWriter::getRelocType(MCContext &Ctx,
|
|||
const MCValue &Target,
|
||||
const MCFixup &Fixup,
|
||||
bool IsPCRel) const {
|
||||
// Determine the type of the relocation
|
||||
switch ((unsigned)Fixup.getKind()) {
|
||||
default:
|
||||
llvm_unreachable("invalid fixup kind!");
|
||||
}
|
||||
llvm_unreachable("invalid fixup kind!");
|
||||
}
|
||||
|
||||
MCObjectWriter *llvm::createRISCVELFObjectWriter(raw_pwrite_stream &OS,
|
||||
|
|
Loading…
Reference in New Issue