Merge "Remove unused variable." into main

This commit is contained in:
Christopher Ferris 2024-09-12 23:54:54 +00:00 committed by Gerrit Code Review
commit bd66ab0a2b

View file

@ -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) {