From f324f0c54e8842add90b2882bd487d8f8f510638 Mon Sep 17 00:00:00 2001 From: Jim Bankoski Date: Mon, 10 Feb 2014 17:03:41 -0800 Subject: vp9_mcomp.c static analysis issues Change-Id: I8c0023e3f03297993431e21158ee3821af75f82d --- vp9/encoder/vp9_mcomp.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/vp9/encoder/vp9_mcomp.c b/vp9/encoder/vp9_mcomp.c index 198e11cc2..d761a852c 100644 --- a/vp9/encoder/vp9_mcomp.c +++ b/vp9/encoder/vp9_mcomp.c @@ -349,6 +349,10 @@ int vp9_find_best_sub_pixel_tree(const MACROBLOCK *x, tr = br; tc = bc; } + // These lines insure static analysis doesn't warn that + // tr and tc aren't used after the above point. + (void) tr; + (void) tc; bestmv->row = br; bestmv->col = bc; @@ -452,6 +456,11 @@ int vp9_find_best_sub_pixel_comp_tree(const MACROBLOCK *x, tr = br; tc = bc; } + // These lines insure static analysis doesn't warn that + // tr and tc aren't used after the above point. + (void) tr; + (void) tc; + bestmv->row = br; bestmv->col = bc; -- cgit v1.2.3