mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-05 02:07:16 +00:00
Fix some non-sensical code.
- This makes it more like other similar code in Archive handling. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75452 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a53902b258
commit
4892cb761e
@ -126,8 +126,11 @@ bool ArchiveMember::replaceWith(const sys::Path& newFile, std::string* ErrMsg) {
|
||||
return true;
|
||||
}
|
||||
|
||||
// Determine what kind of file it is
|
||||
// Determine what kind of file it is.
|
||||
switch (sys::IdentifyFileType(signature,4)) {
|
||||
case sys::Bitcode_FileType:
|
||||
flags |= BitcodeFlag;
|
||||
break;
|
||||
default:
|
||||
flags &= ~BitcodeFlag;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user