[llvm] r269872 - Delete default in fully covered switch.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Tue May 17 17:31:06 PDT 2016
Author: rafael
Date: Tue May 17 19:31:06 2016
New Revision: 269872
URL: http://llvm.org/viewvc/llvm-project?rev=269872&view=rev
Log:
Delete default in fully covered switch.
Modified:
llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
Modified: llvm/trunk/tools/llvm-readobj/COFFDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/COFFDumper.cpp?rev=269872&r1=269871&r2=269872&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/COFFDumper.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/COFFDumper.cpp Tue May 17 19:31:06 2016
@@ -1148,7 +1148,6 @@ void COFFDumper::printCodeViewSymbolsSub
auto OpCode =
static_cast<BinaryAnnotationsOpCode>(GetCompressedAnnotation());
switch (OpCode) {
- default:
case BinaryAnnotationsOpCode::Invalid:
return error(object_error::parse_failed);
case BinaryAnnotationsOpCode::CodeOffset:
More information about the llvm-commits
mailing list