Fix -Wcovered-switch-default warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296501 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Zachary Turner 2017-02-28 18:35:40 +00:00
parent 114240abb9
commit 584a5d174f

View 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()) {