Commit f1cba19
committed
Disable -Wunused-value for updatePhaseConfiguration
```
frameworks/native/services/surfaceflinger/Scheduler/Scheduler.cpp:492:29: error: ignoring temporary created by a constructor declared with 'nodiscard' attribute [-Werror,-Wunused-value]
492 | (std::scoped_lock(mDisplayLock), displayId == mPacesetterDisplayId));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
Flag: EXEMPT b/369277774
Bug: b/369277774
Change-Id: I183f22a881120156211e3296f022c8e52a47a39f1 parent 915cd5f commit f1cba19
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
486 | 486 | | |
487 | 487 | | |
488 | 488 | | |
| 489 | + | |
| 490 | + | |
489 | 491 | | |
490 | 492 | | |
491 | 493 | | |
| |||
497 | 499 | | |
498 | 500 | | |
499 | 501 | | |
| 502 | + | |
500 | 503 | | |
501 | 504 | | |
502 | 505 | | |
| |||
0 commit comments