diff options
| author | 2023-12-05 15:07:00 +0000 | |
|---|---|---|
| committer | 2023-12-05 15:07:00 +0000 | |
| commit | a051175027ce28698c0900203c4338f5583f3259 (patch) | |
| tree | 4e803e211174cc1ace2803450777e5999a68cb92 /libs/ui/Gralloc4.cpp | |
| parent | ea5827b3070a42ab3f8c99d45711cfe8d1235457 (diff) | |
| parent | 6fcddef27d4738dd327f16e7936124ccb8f99e0f (diff) | |
Merge "Fix -Wunused-variable compiler warning" into main
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; |