From c59da6729e0b80af931548dda43c9ea964613315 Mon Sep 17 00:00:00 2001 From: "Jeff Roberts (Bellevue)" Date: Thu, 8 Feb 2024 12:53:51 -0800 Subject: [PATCH] Mark row0 as unused --- stb_image_resize2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stb_image_resize2.h b/stb_image_resize2.h index ac2f065..4a8bcb2 100644 --- a/stb_image_resize2.h +++ b/stb_image_resize2.h @@ -3571,7 +3571,8 @@ static int stbir__pack_coefficients( int num_contributors, stbir__contributors* #else #define STBIR_MOVE_4( dest, src ) { STBIR_NO_UNROLL(dest); ((stbir_uint64*)(dest))[0] = ((stbir_uint64*)(src))[0]; ((stbir_uint64*)(dest))[1] = ((stbir_uint64*)(src))[1]; } #endif - + STBIR__UNUSED( row0 ); // only used in an assert + int row_end = row1 + 1; if ( coefficient_width != widest )