| commit | 4648b7e8b5fd81580c81ad3a24e13b26ea9c12d2 | [log] [tgz] |
|---|---|---|
| author | Aditya Kumar <appujee@google.com> | Thu Sep 26 20:44:18 2024 +0000 |
| committer | Aditya Kumar <appujee@google.com> | Wed Oct 02 15:56:26 2024 +0000 |
| tree | 05351ae9821da92c3a9010849bda66802710b11c | |
| parent | 537f9e50512a3428f9c318c3fa7ffefc26c8e31f [diff] |
Disable -Wunused-value for surfaceflinger
```
frameworks/native/services/surfaceflinger/Display/DisplayModeController.cpp:293:14: error: ignoring temporary created by a constructor declared with 'nodiscard' attribute [-Werror,-Wunused-value]
293 | (std::scoped_lock(displayPtr->desiredModeLock), displayPtr->desiredModeOpt)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
Change-Id: I5e84dbd628f5c03f5e325f5ccc5d365d2f40c9dd
Flag: EXEMPT b/369277774
Bug: b/369277774