Remove unnecessary scope
This commit is contained in:
parent
104585e772
commit
fb78052b3d
1 changed files with 6 additions and 8 deletions
|
@ -118,7 +118,6 @@ bool FillFileInfoWithNode(Archive::FileInfo* info,
|
|||
|
||||
Archive::Archive(const base::FilePath& path)
|
||||
: path_(path), file_(base::File::FILE_OK), header_size_(0) {
|
||||
{
|
||||
base::ThreadRestrictions::ScopedAllowIO allow_io;
|
||||
file_.Initialize(path_, base::File::FLAG_OPEN | base::File::FLAG_READ);
|
||||
#if defined(OS_WIN)
|
||||
|
@ -129,7 +128,6 @@ Archive::Archive(const base::FilePath& path)
|
|||
#else
|
||||
fd_ = -1;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Archive::~Archive() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue