summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Bankoski <jimbankoski@google.com>2014-02-13 06:20:16 -0800
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>2014-02-13 06:20:16 -0800
commitd2cd088cb7ac4f1b7cb6fa1a6c01c6cad4363dda (patch)
tree52a3687ecff2feafd495ee83877d035b80ef2841
parent35e24e33d36c18c87db772744ed552fbd3ef77ab (diff)
parentf324f0c54e8842add90b2882bd487d8f8f510638 (diff)
downloadlibvpx-d2cd088cb7ac4f1b7cb6fa1a6c01c6cad4363dda.tar
libvpx-d2cd088cb7ac4f1b7cb6fa1a6c01c6cad4363dda.tar.gz
libvpx-d2cd088cb7ac4f1b7cb6fa1a6c01c6cad4363dda.tar.bz2
libvpx-d2cd088cb7ac4f1b7cb6fa1a6c01c6cad4363dda.zip
Merge "vp9_mcomp.c static analysis issues"
-rw-r--r--vp9/encoder/vp9_mcomp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_mcomp.c b/vp9/encoder/vp9_mcomp.c
index 3b8ec186e..62b33e4b9 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;