diff options
| author | 2023-12-05 16:07:14 +0000 | |
|---|---|---|
| committer | 2023-12-05 16:07:14 +0000 | |
| commit | 18e1c0d656bd3cd5753b35617e2e59644ac0b65f (patch) | |
| tree | dc37453757855c4026190e20e5e668972d5d4a54 /libs/ui/Gralloc4.cpp | |
| parent | 38f6a09c7fe6a077365ed02a453ab074cf5e91e5 (diff) | |
| parent | a051175027ce28698c0900203c4338f5583f3259 (diff) | |
Merge "Fix -Wunused-variable compiler warning" into main am: a051175027
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2858055
Change-Id: If755883c71aa8ad2621222410fee255b8b6e4ce4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'libs/ui/Gralloc4.cpp')
| -rw-r--r-- | libs/ui/Gralloc4.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ui/Gralloc4.cpp b/libs/ui/Gralloc4.cpp index b6274ab9c0..03ff58a76c 100644 --- a/libs/ui/Gralloc4.cpp +++ b/libs/ui/Gralloc4.cpp @@ -468,8 +468,8 @@ status_t Gralloc4Mapper::isSupported(uint32_t width, uint32_t height, PixelForma uint32_t layerCount, uint64_t usage, bool* outSupported) const { IMapper::BufferDescriptorInfo descriptorInfo; - if (auto error = sBufferDescriptorInfo("isSupported", width, height, format, layerCount, usage, - &descriptorInfo) != OK) { + if (sBufferDescriptorInfo("isSupported", width, height, format, layerCount, usage, + &descriptorInfo) != OK) { // Usage isn't known to the HAL or otherwise failed validation. *outSupported = false; return OK; |