Fix an instance of -Wunused-but-set-variable.
Bug: chromium:1203071
Change-Id: I91e0accd693f523028e0680e5b5f25ec7546f0bc
diff --git a/av1/encoder/allintra_vis.c b/av1/encoder/allintra_vis.c
index 8058de6..142bb6b 100644
--- a/av1/encoder/allintra_vis.c
+++ b/av1/encoder/allintra_vis.c
@@ -126,7 +126,6 @@
int sb_wiener_var = 0;
int mb_stride = cpi->frame_info.mb_cols;
int mb_count = 0;
- int64_t mb_wiener_sum = 0;
double base_num = 1;
double base_den = 1;
double base_reg = 1;
@@ -138,10 +137,6 @@
WeberStats *weber_stats =
&cpi->mb_weber_stats[(row / mi_step) * mb_stride + (col / mi_step)];
- mb_wiener_sum += (int)(cpi->mb_weber_stats[(row / mi_step) * mb_stride +
- (col / mi_step)]
- .alpha *
- 10000);
base_num += ((double)weber_stats->distortion) *
sqrt((double)weber_stats->src_variance) *