From 82cf10702de9a9142c49150d62134fbc572108f9 Mon Sep 17 00:00:00 2001 From: Paul Wilkins Date: Wed, 14 May 2014 13:50:51 +0100 Subject: [PATCH] Silence unused parameter warnings. The various motion search functions share a common function prototype. In the case of vp9_full_range_search() two of the parameters are not needed. Change-Id: I0e190af54a3b3f276409f20e8ec55912f9b0b798 --- vp9/encoder/vp9_mcomp.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vp9/encoder/vp9_mcomp.c b/vp9/encoder/vp9_mcomp.c index 43c8ab868..290da5d59 100644 --- a/vp9/encoder/vp9_mcomp.c +++ b/vp9/encoder/vp9_mcomp.c @@ -886,6 +886,10 @@ int vp9_full_range_search_c(const MACROBLOCK *x, int r, c, i; int start_col, end_col, start_row, end_row; + // The cfg and search_param parameters are not used in this search variant + (void)cfg; + (void)search_param; + clamp_mv(ref_mv, x->mv_col_min, x->mv_col_max, x->mv_row_min, x->mv_row_max); *best_mv = *ref_mv; *num00 = 11; -- 2.40.0