Skip to content

Commit

Permalink
Delete default in fully covered switch.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269872 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
espindola committed May 18, 2016
1 parent 214e8d3 commit 36f243d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tools/llvm-readobj/COFFDumper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,6 @@ void COFFDumper::printCodeViewSymbolsSubsection(StringRef Subsection,
auto OpCode =
static_cast<BinaryAnnotationsOpCode>(GetCompressedAnnotation());
switch (OpCode) {
default:
case BinaryAnnotationsOpCode::Invalid:
return error(object_error::parse_failed);
case BinaryAnnotationsOpCode::CodeOffset:
Expand Down

0 comments on commit 36f243d

Please sign in to comment.