diff options
| author | 2024-10-09 20:21:46 +0000 | |
|---|---|---|
| committer | 2024-10-09 20:21:46 +0000 | |
| commit | 91b33f18ea5416bfde82cda7fc1b210d9338a835 (patch) | |
| tree | d467258c8916460401c36b12c07f708777e0982d /libs/gui/DisplayLuts.cpp | |
| parent | 6a3c7c9bf62ed1c11e784a6014f9880b727ba842 (diff) | |
Disable -Wunused-value for surfaceflinger
```
out/soong/.intermediates/frameworks/native/services/surfaceflinger/Tracing/tools/layertracegenerator/android_x86_64_silvermont/obj/frameworks/native/services/surfaceflinger/Scheduler/Scheduler.o frameworks/native/services/surfaceflinger/Scheduler/Scheduler.cpp
frameworks/native/services/surfaceflinger/Scheduler/Scheduler.cpp:432:29: error: ignoring temporary created by a constructor declared with 'nodiscard' attribute [-Werror,-Wunused-value]
432 | (std::scoped_lock(mDisplayLock), displayId == mPacesetterDisplayId));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
Flag: EXEMPT b/369277774
Bug: b/369277774
Change-Id: Idd45525cc3fe15c3b5e66332650ce8b7811ae026
Diffstat (limited to 'libs/gui/DisplayLuts.cpp')
0 files changed, 0 insertions, 0 deletions