From cfab2caee1d937b1ec34b1a8ea1e8680ad55ad3a Mon Sep 17 00:00:00 2001
From: Scott LaVarnway <slavarnway@google.com>
Date: Tue, 24 May 2011 15:17:03 -0400
Subject: [PATCH] Removed unused variable warnings

Change-Id: I6e5e921f03dc15a72da89a457848d519647677a3
---
 vp8/decoder/decodemv.c   | 2 ++
 vp8/decoder/decodframe.c | 2 --
 vp8/encoder/ethreading.c | 2 --
 3 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/vp8/decoder/decodemv.c b/vp8/decoder/decodemv.c
index 2a91a21e5c..97cc6c9430 100644
--- a/vp8/decoder/decodemv.c
+++ b/vp8/decoder/decodemv.c
@@ -529,7 +529,9 @@ void vp8_decode_mode_mvs(VP8D_COMP *pbi)
 
         while (++mb_col < pbi->common.mb_cols)
         {
+#if CONFIG_ERROR_CONCEALMENT
             int mb_num = mb_row * pbi->common.mb_cols + mb_col;
+#endif
             /*read_mb_modes_mv(pbi, xd->mode_info_context, &xd->mode_info_context->mbmi, mb_row, mb_col);*/
             if(pbi->common.frame_type == KEY_FRAME)
                 vp8_kfread_modes(pbi, mi, mb_row, mb_col);
diff --git a/vp8/decoder/decodframe.c b/vp8/decoder/decodframe.c
index deb52cfcdf..80e8723d6f 100644
--- a/vp8/decoder/decodframe.c
+++ b/vp8/decoder/decodframe.c
@@ -350,8 +350,6 @@ FILE *vpxlog = 0;
 static void
 decode_mb_row(VP8D_COMP *pbi, VP8_COMMON *pc, int mb_row, MACROBLOCKD *xd)
 {
-
-    int i;
     int recon_yoffset, recon_uvoffset;
     int mb_col;
     int ref_fb_idx = pc->lst_fb_idx;
diff --git a/vp8/encoder/ethreading.c b/vp8/encoder/ethreading.c
index f99ce6d2f9..1d92f20afb 100644
--- a/vp8/encoder/ethreading.c
+++ b/vp8/encoder/ethreading.c
@@ -120,8 +120,6 @@ THREAD_FUNCTION thread_encoding_proc(void *p_data)
                 // for each macroblock col in image
                 for (mb_col = 0; mb_col < cm->mb_cols; mb_col++)
                 {
-                    int seg_map_index = (mb_row * cm->mb_cols);
-
                     if ((mb_col & (nsync - 1)) == 0)
                     {
                         while (mb_col > (*last_row_current_mb_col - nsync) && *last_row_current_mb_col != cm->mb_cols - 1)
-- 
GitLab