[llvm] r296501 - Fix -Wcovered-switch-default warning.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 28 10:35:40 PST 2017
Author: zturner
Date: Tue Feb 28 12:35:40 2017
New Revision: 296501
URL: http://llvm.org/viewvc/llvm-project?rev=296501&view=rev
Log:
Fix -Wcovered-switch-default warning.
Modified:
llvm/trunk/lib/DebugInfo/MSF/BinaryStreamError.cpp
Modified: llvm/trunk/lib/DebugInfo/MSF/BinaryStreamError.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/MSF/BinaryStreamError.cpp?rev=296501&r1=296500&r2=296501&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/MSF/BinaryStreamError.cpp (original)
+++ llvm/trunk/lib/DebugInfo/MSF/BinaryStreamError.cpp Tue Feb 28 12:35:40 2017
@@ -39,8 +39,6 @@ BinaryStreamError::BinaryStreamError(str
case stream_error_code::filesystem_error:
ErrMsg += "An I/O error occurred on the file system.";
break;
- default:
- llvm_unreachable("Unreachable!");
}
if (!Context.empty()) {
More information about the llvm-commits
mailing list