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>
This commit is contained in:
commit
600d87402c
1 changed files with 0 additions and 1 deletions
|
|
@ -98,7 +98,6 @@ bool CleanupScratchOtaMetadataIfPresent(const ISnapshotManager::IDeviceInfo* inf
|
|||
}
|
||||
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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue