mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Remove an "else" that snuck in after a "return" ;)
llvm-svn: 158844
This commit is contained in:
parent
4b2667930b
commit
ce97ce2905
@ -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