Merge "Fix -Wunused-variable compiler warning" into main am: 96fd39c228
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2858392 Change-Id: Ibbe7bf0bcb7acdc2b806915337c5742138569474 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
73d40d9619
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ std::unique_ptr<OptimizedFlashSuperTask> OptimizedFlashSuperTask::Initialize(
|
|||
auto remove_if_callback = [&](const auto& task) -> bool {
|
||||
if (auto flash_task = task->AsFlashTask()) {
|
||||
return helper->WillFlash(flash_task->GetPartitionAndSlot());
|
||||
} else if (auto update_super_task = task->AsUpdateSuperTask()) {
|
||||
} else if (task->AsUpdateSuperTask()) {
|
||||
return true;
|
||||
} else if (auto reboot_task = task->AsRebootTask()) {
|
||||
if (reboot_task->GetTarget() == "fastboot") {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue