diff options
author | Dmitriy Ivanov <dimitry@google.com> | 2015-11-16 14:23:37 -0800 |
---|---|---|
committer | Dmitriy Ivanov <dimitry@google.com> | 2015-11-16 14:23:37 -0800 |
commit | fbfba640682b94e61632a58a0544f14ed6a57908 (patch) | |
tree | 19c2840220568a8cedc4dc6f140674a76414cb50 /linker/linker.cpp | |
parent | d9b08a0bc082643b97fc9b11e0715e95be603c4c (diff) |
Remove the warning about empty LD_LIBRARY_PATH
Change-Id: I3eca11512d8055ab94dd0a6badcd83ce6440d675
Diffstat (limited to 'linker/linker.cpp')
-rw-r--r-- | linker/linker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linker/linker.cpp b/linker/linker.cpp index 826aa5ee3..27bcb216e 100644 --- a/linker/linker.cpp +++ b/linker/linker.cpp @@ -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); } } |