shithub: libvpx

Download patch

ref: f324f0c54e8842add90b2882bd487d8f8f510638
parent: df86c4497a069eae10f74dd7c9592640a6c9a4d0
author: Jim Bankoski <jimbankoski@google.com>
date: Mon Feb 10 12:03:41 EST 2014

vp9_mcomp.c static analysis issues

Change-Id: I8c0023e3f03297993431e21158ee3821af75f82d

--- a/vp9/encoder/vp9_mcomp.c
+++ b/vp9/encoder/vp9_mcomp.c
@@ -349,6 +349,10 @@
     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 @@
     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;
 
--