Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 133fc74f authored by Christopher Ferris's avatar Christopher Ferris
Browse files

Remove unused variable.

Test: Builds with -Wunused-variable
Change-Id: Ibe6c28c8dd510303450f8400ba7d721fd5c44fc3
parent e57d3f21
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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) {