vp9_mbgraph: clear -Wshadow warnings
authorJames Zern <jzern@google.com>
Wed, 12 Apr 2023 02:16:28 +0000 (19:16 -0700)
committerJames Zern <jzern@google.com>
Wed, 12 Apr 2023 02:16:28 +0000 (19:16 -0700)
Bug: webm:1793
Change-Id: Ibffb62775f09922d37f7d0460aa2751e74c36738

vp9/encoder/vp9_mbgraph.c

index 7c2790c..9487fc5 100644 (file)
@@ -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);