Remove unused variable.
Test: Builds with -Wunused-variable Change-Id: Ibe6c28c8dd510303450f8400ba7d721fd5c44fc3
This commit is contained in:
parent
e57d3f2110
commit
133fc74fa4
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