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

Commit 14900c97 authored by Colin Cross's avatar Colin Cross
Browse files

Mark parameter as [[maybe_unused]]

The width parameter is only used by some of the CPU-specific checks.
Add [[maybe_unused]] to fix the build for CPUs that do not vary the
implementation by width.

Fixes aosp_riscv64-userdebug build.

Test: builds
Change-Id: I0f69cf7cf4febc1ac16488633c2f5a997bdafc62
parent 8fc16d0e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1599,7 +1599,7 @@ status_t HeicCompositeStream::copyOneYuvTile(sp<MediaCodecBuffer>& codecBuffer,
    return OK;
}

void HeicCompositeStream::initCopyRowFunction(int32_t width)
void HeicCompositeStream::initCopyRowFunction([[maybe_unused]] int32_t width)
{
    using namespace libyuv;