diff options
author | 2024-09-26 20:44:18 +0000 | |
---|---|---|
committer | 2024-11-19 05:56:48 +0000 | |
commit | 95fd424aa18f82aada08cc9c4166f01075a74907 (patch) | |
tree | 81867036814f699ae06ae0e6dc8e2264eb57e8cc /libs/input/Input.cpp | |
parent | 37f549051ed16961718d49d34c4975e9c5929cfa (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
(cherry picked from commit 4648b7e8b5fd81580c81ad3a24e13b26ea9c12d2)
Diffstat (limited to 'libs/input/Input.cpp')
0 files changed, 0 insertions, 0 deletions