commit | 600d87402cac5a0186aed1bbb4a2bda1e83ec71f | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Fri Sep 13 00:12:46 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Sep 13 00:12:46 2024 +0000 |
tree | 1a79131a86286a19c7d9ad297f556da3e2117e0b | |
parent | 5bba23b6e583169e047cdd225f9ed763e7460b2e [diff] | |
parent | bd66ab0a2b327b849d323fbf7e7a944712ab9aee [diff] |
Merge "Remove unused variable." into main am: bd66ab0a2b Original change: https://android-review.googlesource.com/c/platform/system/core/+/3261155 Change-Id: Ie2a5ff0844b01dcf574f2c12228c556df998150d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/fs_mgr/libsnapshot/scratch_super.cpp b/fs_mgr/libsnapshot/scratch_super.cpp index 805abf3..93c4bbd 100644 --- a/fs_mgr/libsnapshot/scratch_super.cpp +++ b/fs_mgr/libsnapshot/scratch_super.cpp
@@ -98,7 +98,6 @@ } const auto& opener = info->GetPartitionOpener(); std::string slot_suffix = info->GetSlotSuffix(); - int slot = SlotNumberForSlotSuffix(slot_suffix); // Walk both the slots and clean up metadata related to scratch space from // both the slots. for (auto slot : slots) {