mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-14 23:48:56 +00:00
Remove an "else" that snuck in after a "return" ;)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158844 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3f85144a89
commit
3aaa59bcbb
@ -220,7 +220,7 @@ error_code MemoryBuffer::getFile(const char *Filename,
|
||||
error_code err = sys::fs::is_directory(Filename, is_dir);
|
||||
if (err)
|
||||
return err;
|
||||
else if (is_dir)
|
||||
if (is_dir)
|
||||
return make_error_code(errc::is_a_directory);
|
||||
|
||||
int OpenFlags = O_RDONLY;
|
||||
|
Loading…
Reference in New Issue
Block a user