From e3c458149cd46eefb601ec684deb0352b52b77a1 Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 11 Apr 2023 19:16:28 -0700 Subject: [PATCH] vp9_mbgraph: clear -Wshadow warnings Bug: webm:1793 Change-Id: Ibffb62775f09922d37f7d0460aa2751e74c36738 --- vp9/encoder/vp9_mbgraph.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vp9/encoder/vp9_mbgraph.c b/vp9/encoder/vp9_mbgraph.c index 7c2790c..9487fc5 100644 --- a/vp9/encoder/vp9_mbgraph.c +++ b/vp9/encoder/vp9_mbgraph.c @@ -98,8 +98,7 @@ static int do_16x16_motion_search(VP9_COMP *cpi, const MV *ref_mv, // If the current best reference mv is not centered on 0,0 then do a 0,0 // based search as well. if (ref_mv->row != 0 || ref_mv->col != 0) { - unsigned int tmp_err; - MV zero_ref_mv = { 0, 0 }, tmp_mv; + MV zero_ref_mv = { 0, 0 }; tmp_err = do_16x16_motion_iteration(cpi, &zero_ref_mv, &tmp_mv, mb_row, mb_col); -- 2.7.4