Merge "Remove the warning about empty LD_LIBRARY_PATH"
am: 3c8c16022a
* commit '3c8c16022a513a32eb6b92cf23f4ef43ccf7ad6d':
Remove the warning about empty LD_LIBRARY_PATH
This commit is contained in:
commit
159c3d617f
@ -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