]> granicus.if.org Git - llvm/commitdiff
Fix -Wcovered-switch-default warning.
authorZachary Turner <zturner@google.com>
Tue, 28 Feb 2017 18:35:40 +0000 (18:35 +0000)
committerZachary Turner <zturner@google.com>
Tue, 28 Feb 2017 18:35:40 +0000 (18:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296501 91177308-0d34-0410-b5e6-96231b3b80d8

lib/DebugInfo/MSF/BinaryStreamError.cpp

index 2f299dc5b5e925a9b27d638b626fdb497ff5a43d..097a59e768bcdaf3c5c84bb39e01371e2fc0eb26 100644 (file)
@@ -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()) {