mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-22 12:08:33 +00:00
Unindent some code
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29169 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0683c8cad9
commit
c22c7d3cdf
@ -40,7 +40,9 @@ struct sys::MappedFileInfo {
|
||||
};
|
||||
|
||||
void MappedFile::initialize() {
|
||||
if (path_.exists()) {
|
||||
if (!path_.exists())
|
||||
throw std::string("Can't open file: ") + path_.toString();
|
||||
|
||||
info_ = new MappedFileInfo;
|
||||
int mode = 0;
|
||||
if (options_&READ_ACCESS)
|
||||
@ -64,9 +66,6 @@ void MappedFile::initialize() {
|
||||
info_ = 0;
|
||||
ThrowErrno(std::string("Can't stat file: ") + path_.toString());
|
||||
}
|
||||
} else {
|
||||
throw std::string("Can't open file: ") + path_.toString();
|
||||
}
|
||||
}
|
||||
|
||||
void MappedFile::terminate() {
|
||||
|
Loading…
Reference in New Issue
Block a user