Revert "Fix warnings: unused variable ‘plane_bsize’" This reverts commit 9abda5913d31f92c5658afc38424a341a11faaef. Reason for revert: This will only throw a warning on problematic configurations (CONFIG_DEBUG should not be enabled in relase) Change-Id: I12000e9ee95b9691f233a877fca2073f3566bdb6
diff --git a/av1/common/reconintra.c b/av1/common/reconintra.c index 6bc8b40..159e254 100644 --- a/av1/common/reconintra.c +++ b/av1/common/reconintra.c
@@ -2280,7 +2280,6 @@ #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 1584202..acaadef 100644 --- a/av1/encoder/rdopt.c +++ b/av1/encoder/rdopt.c
@@ -5163,7 +5163,6 @@ 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]);