Remove the warning about empty LD_LIBRARY_PATH
Change-Id: I3eca11512d8055ab94dd0a6badcd83ce6440d675
This commit is contained in:
parent
d9b08a0bc0
commit
fbfba64068
@ -469,7 +469,7 @@ static void resolve_paths(std::vector<std::string>& paths,
|
||||
|
||||
static void split_path(const char* path, const char* delimiters,
|
||||
std::vector<std::string>* paths) {
|
||||
if (path != nullptr) {
|
||||
if (path != nullptr && path[0] != 0) {
|
||||
*paths = android::base::Split(path, delimiters);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user