am 9f5dee55: Merge "Remove unnecessary calls to LinkedList::clear()"
* commit '9f5dee55aa401b11b3eb15806d3f8ffc291c2bb1': Remove unnecessary calls to LinkedList::clear()
This commit is contained in:
commit
a04130f54c
@ -639,8 +639,6 @@ ElfW(Sym)* dlsym_handle_lookup(soinfo* si, soinfo** found, const char* name) {
|
||||
|
||||
if (result != nullptr) {
|
||||
*found = current_soinfo;
|
||||
visit_list.clear();
|
||||
visited.clear();
|
||||
return result;
|
||||
}
|
||||
visited.push_back(current_soinfo);
|
||||
@ -650,8 +648,6 @@ ElfW(Sym)* dlsym_handle_lookup(soinfo* si, soinfo** found, const char* name) {
|
||||
});
|
||||
}
|
||||
|
||||
visit_list.clear();
|
||||
visited.clear();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user