Skip to content

Commit

Permalink
Fix -Wcovered-switch-default.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295799 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
rui314 committed Feb 22, 2017
1 parent 7d65faa commit 9a73610
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Object/ArchiveWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,7 @@ static bool isBSDLike(object::Archive::Kind Kind) {
case object::Archive::K_BSD:
case object::Archive::K_DARWIN:
return true;
case object::Archive::K_MIPS64:
case object::Archive::K_DARWIN64:
case object::Archive::K_COFF:
default:
llvm_unreachable("not supported for writting");
}
}
Expand Down

0 comments on commit 9a73610

Please sign in to comment.