From 3902eaaf86bddc32530632c86b0d2e98210e7bcd Mon Sep 17 00:00:00 2001 From: Frank Barchard Date: Tue, 9 Jul 2024 15:32:31 -0700 Subject: [PATCH] Fix for source/row_neon64.cc:551:12: error: unused variable 'alpha' [-Werror,-Wunused-variable] 551 | uint16_t alpha = 0xc000; | ^~~~~ 1 error generated. Bug: None Change-Id: Ifdfe39f75c003921e4f759bcbbbffe0e766039bd Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/5690260 Commit-Queue: Frank Barchard Reviewed-by: Wan-Teh Chang --- source/row_neon64.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/source/row_neon64.cc b/source/row_neon64.cc index ba12ac9c0..3a29251be 100644 --- a/source/row_neon64.cc +++ b/source/row_neon64.cc @@ -548,7 +548,6 @@ void P410ToAR30Row_NEON(const uint16_t* src_y, const uvec8* uv_coeff = &yuvconstants->kUVCoeff; const vec16* rgb_coeff = &yuvconstants->kRGBCoeffBias; uint16_t limit = 0x3ff0; - uint16_t alpha = 0xc000; asm volatile(YUVTORGB_SETUP "dup v22.8h, %w[limit] \n" "movi v23.8h, #0xc0, lsl #8 \n" // A