quiet warnings with CONFIG_DEBUG unused var plane_bsize Change-Id: I02d75ec5ceab2f9d61a1a4ff5b5f1bc2d1b0a7a4
diff --git a/av1/common/reconintra.c b/av1/common/reconintra.c index a679e7f..4cf6fe7 100644 --- a/av1/common/reconintra.c +++ b/av1/common/reconintra.c
@@ -2171,6 +2171,7 @@ #if CONFIG_DEBUG assert(is_cfl_allowed(mbmi)); const BLOCK_SIZE plane_bsize = get_plane_block_size(mbmi->sb_type, pd); + (void)plane_bsize; assert(plane_bsize < BLOCK_SIZES_ALL); if (!xd->lossless[mbmi->segment_id]) { assert(blk_col == 0);
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c index 2ef8a4b..4252dbf 100644 --- a/av1/encoder/rdopt.c +++ b/av1/encoder/rdopt.c
@@ -5341,6 +5341,7 @@ assert(is_cfl_allowed(mbmi)); const BLOCK_SIZE plane_bsize = get_plane_block_size(mbmi->sb_type, &xd->plane[AOM_PLANE_U]); + (void)plane_bsize; assert(plane_bsize < BLOCK_SIZES_ALL); if (!xd->lossless[mbmi->segment_id]) { assert(block_size_wide[plane_bsize] == tx_size_wide[tx_size]);