浏览代码

Mark row0 as unused

Jeff Roberts (Bellevue) 1 年之前
父节点
当前提交
c59da6729e
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      stb_image_resize2.h

+ 2 - 1
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 )