Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67e78e90 authored by Yi Kong's avatar Yi Kong Committed by Automerger Merge Worker
Browse files

Merge "Fix -Wunused-variable compiler warning" into main am: a0511750 am:...

Merge "Fix -Wunused-variable compiler warning" into main am: a0511750 am: 18e1c0d6 am: 4a6c9f10

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2858055



Change-Id: Ie067ac899d47b2aec44228042ddae9d635de1ae9
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents a4326c9f 4a6c9f10
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -468,7 +468,7 @@ 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,
    if (sBufferDescriptorInfo("isSupported", width, height, format, layerCount, usage,
                              &descriptorInfo) != OK) {
        // Usage isn't known to the HAL or otherwise failed validation.
        *outSupported = false;