No else after return.

llvm-svn: 205736
This commit is contained in:
Rui Ueyama 2014-04-07 21:01:11 +00:00
parent feab78785b
commit 5de951d8c1
1 changed files with 3 additions and 4 deletions

View File

@ -38,11 +38,10 @@ error_code ELFFileNode::parse(const LinkingContext &ctx,
f.release(); f.release();
// Add all members to _files vector // Add all members to _files vector
return archive->parseAllMembers(_files); return archive->parseAllMembers(_files);
} else {
// if --whole-archive is around non-archive, just use it as normal.
_files.push_back(std::move(f));
return error_code::success();
} }
// if --whole-archive is around non-archive, just use it as normal.
_files.push_back(std::move(f));
return error_code::success();
} }
return ctx.registry().parseFile(_buffer, _files); return ctx.registry().parseFile(_buffer, _files);
} }