Fix warnings: unused variable ‘plane_bsize’ Change-Id: I8e205e5b6310b345065200cfdac23f30badc3caa
diff --git a/av1/common/reconintra.c b/av1/common/reconintra.c index a1bbafc..01f39da 100644 --- a/av1/common/reconintra.c +++ b/av1/common/reconintra.c
@@ -2315,6 +2315,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 d0fbe6b..7586342 100644 --- a/av1/encoder/rdopt.c +++ b/av1/encoder/rdopt.c
@@ -5403,6 +5403,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]);