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

Commit 18e1c0d6 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

parents 38f6a09c a0511750
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line 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,
                                     uint32_t layerCount, uint64_t usage,
                                     bool* outSupported) const {
                                     bool* outSupported) const {
    IMapper::BufferDescriptorInfo descriptorInfo;
    IMapper::BufferDescriptorInfo descriptorInfo;
    if (auto error = sBufferDescriptorInfo("isSupported", width, height, format, layerCount, usage,
    if (sBufferDescriptorInfo("isSupported", width, height, format, layerCount, usage,
                              &descriptorInfo) != OK) {
                              &descriptorInfo) != OK) {
        // Usage isn't known to the HAL or otherwise failed validation.
        // Usage isn't known to the HAL or otherwise failed validation.
        *outSupported = false;
        *outSupported = false;