1
0
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:
Kaelyn Uhrain 2012-06-20 20:38:36 +00:00
parent 4b2667930b
commit ce97ce2905

View File

@ -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;