From: Jim Bankoski Date: Tue, 11 Feb 2014 01:03:41 +0000 (-0800) Subject: vp9_mcomp.c static analysis issues X-Git-Tag: v1.4.0~2398^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f324f0c54e8842add90b2882bd487d8f8f510638;p=platform%2Fupstream%2Flibvpx.git vp9_mcomp.c static analysis issues Change-Id: I8c0023e3f03297993431e21158ee3821af75f82d --- diff --git a/vp9/encoder/vp9_mcomp.c b/vp9/encoder/vp9_mcomp.c index 198e11c..d761a85 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;