commit | fbfba640682b94e61632a58a0544f14ed6a57908 | [log] [tgz] |
---|---|---|
author | Dmitriy Ivanov <dimitry@google.com> | Mon Nov 16 14:23:37 2015 -0800 |
committer | Dmitriy Ivanov <dimitry@google.com> | Mon Nov 16 14:23:37 2015 -0800 |
tree | 19c2840220568a8cedc4dc6f140674a76414cb50 | |
parent | d9b08a0bc082643b97fc9b11e0715e95be603c4c [diff] [blame] |
Remove the warning about empty LD_LIBRARY_PATH Change-Id: I3eca11512d8055ab94dd0a6badcd83ce6440d675
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); } }