]> granicus.if.org Git - libvpx/commitdiff
vp8 temporal_filter: ignore return value
authorJohann <johannkoenig@google.com>
Tue, 31 Jan 2017 23:45:12 +0000 (15:45 -0800)
committerJohann Koenig <johannkoenig@google.com>
Mon, 12 Mar 2018 19:52:11 +0000 (19:52 +0000)
Clears up static clang analysis warning regarding a dead store.

Change-Id: I6a90e6fd5f2775d933c46c7553811635bd2def21

vp8/encoder/temporal_filter.c

index 0a7d25fb0a78803d9555360872d8580a3df63103..76f99a17d7febb09f7c1ed875954be38891012b5 100644 (file)
@@ -159,6 +159,7 @@ static int vp8_temporal_filter_find_matching_mb_c(VP8_COMP *cpi,
   bestsme =
       vp8_hex_search(x, b, d, &best_ref_mv1_full, &d->bmi.mv, step_param, sadpb,
                      &cpi->fn_ptr[BLOCK_16X16], NULL, NULL, &best_ref_mv1);
+  (void)bestsme;  // Ignore unused return value.
 
 #if ALT_REF_SUBPEL_ENABLED
   /* Try sub-pixel MC? */