commit | c169f4dc9a8fb240c65f32ab052a67bce1bc61be | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Fri Sep 13 00:42:47 2024 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Sep 13 00:42:47 2024 +0000 |
tree | 7e21c515fe9017cdfd1bd38fc533a5cdb4a5b59c | |
parent | 862514999644856e9bce0d54afcb470d71bf1e37 [diff] | |
parent | 600d87402cac5a0186aed1bbb4a2bda1e83ec71f [diff] |
Merge "Remove unused variable." into main am: bd66ab0a2b am: 600d87402c Original change: https://android-review.googlesource.com/c/platform/system/core/+/3261155 Change-Id: I1063b388ae87aeca7617607790c4385bd53f944f 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) {