Merge "Fix -Wunused-variable compiler warning" into main am: e5524c0669
Original change: https://android-review.googlesource.com/c/platform/system/core/+/2861269 Change-Id: I0de12b886e4b3ab6a823e72368fc8ea1ae2d3f8d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
522ebe90cf
1 changed files with 1 additions and 1 deletions
|
|
@ -354,7 +354,7 @@ TEST_F(ParseTest, OptimizedFlashSuperPatternMatchTest) {
|
|||
const std::vector<std::unique_ptr<Task>>& tasks) {
|
||||
bool contains_optimized_task = false;
|
||||
for (auto& task : tasks) {
|
||||
if (auto optimized_task = task->AsOptimizedFlashSuperTask()) {
|
||||
if (task->AsOptimizedFlashSuperTask()) {
|
||||
contains_optimized_task = true;
|
||||
}
|
||||
if (auto flash_task = task->AsFlashTask()) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue