From: Zachary Turner Date: Tue, 28 Feb 2017 18:35:40 +0000 (+0000) Subject: Fix -Wcovered-switch-default warning. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=584a5d174f2d0776a9390b12799abe8262ffc2ba;p=llvm Fix -Wcovered-switch-default warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296501 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/DebugInfo/MSF/BinaryStreamError.cpp b/lib/DebugInfo/MSF/BinaryStreamError.cpp index 2f299dc5b5e..097a59e768b 100644 --- a/lib/DebugInfo/MSF/BinaryStreamError.cpp +++ b/lib/DebugInfo/MSF/BinaryStreamError.cpp @@ -39,8 +39,6 @@ BinaryStreamError::BinaryStreamError(stream_error_code C, StringRef Context) case stream_error_code::filesystem_error: ErrMsg += "An I/O error occurred on the file system."; break; - default: - llvm_unreachable("Unreachable!"); } if (!Context.empty()) {