commit | 3c8c16022a513a32eb6b92cf23f4ef43ccf7ad6d | [log] [tgz] |
---|---|---|
author | Dimitry Ivanov <dimitry@google.com> | Mon Nov 16 22:25:50 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Nov 16 22:25:50 2015 +0000 |
tree | e0d4ffc5f440256cf8c1f9f1b35e6e2cb7388b67 | |
parent | 949bfb9e3cceac7913fe1debc39617c9ec01ae5e [diff] | |
parent | fbfba640682b94e61632a58a0544f14ed6a57908 [diff] |
Merge "Remove the warning about empty LD_LIBRARY_PATH"
diff --git a/linker/linker.cpp b/linker/linker.cpp index 826aa5e..27bcb21 100644 --- a/linker/linker.cpp +++ b/linker/linker.cpp
@@ -469,7 +469,7 @@ 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); } }