diff options
| author | 2022-08-29 18:25:08 +0000 | |
|---|---|---|
| committer | 2022-08-29 18:25:08 +0000 | |
| commit | 0297889a75481a4ac308d1dc681a428833aaf9cd (patch) | |
| tree | 2bcba2d63861ec70024d0ddd8d6707dd489900ad /cmds/installd/utils.cpp | |
| parent | 4d0fbb755c9c393efec9292cbb31060871e36c45 (diff) | |
| parent | db51985caac8fb2714523eab3c69f6b94eb57698 (diff) | |
Merge "Remove unused variables." am: 3bb8113739 am: 05ddd9f313 am: b2dd6cdf8a am: 9d2d98747e am: db51985caa
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2199615
Change-Id: I36891710313917eb963001179db2cff383859a82
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'cmds/installd/utils.cpp')
| -rw-r--r-- | cmds/installd/utils.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmds/installd/utils.cpp b/cmds/installd/utils.cpp index 4d9b71016e..ffc082d5b2 100644 --- a/cmds/installd/utils.cpp +++ b/cmds/installd/utils.cpp @@ -523,7 +523,6 @@ int calculate_tree_size(const std::string& path, int64_t* size, */ bool is_valid_package_name(const std::string& packageName) { // This logic is borrowed from PackageParser.java - bool hasSep = false; bool front = true; auto it = packageName.begin(); @@ -539,7 +538,6 @@ bool is_valid_package_name(const std::string& packageName) { } } if (c == '.') { - hasSep = true; front = true; continue; } |