projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df86c44
)
vp9_mcomp.c static analysis issues
author
Jim Bankoski
<jimbankoski@google.com>
Tue, 11 Feb 2014 01:03:41 +0000
(17:03 -0800)
committer
Gerrit Code Review
<gerrit@gerrit.golo.chromium.org>
Wed, 12 Feb 2014 19:54:47 +0000
(11:54 -0800)
Change-Id: I8c0023e3f03297993431e21158ee3821af75f82d
vp9/encoder/vp9_mcomp.c
patch
|
blob
|
history
diff --git
a/vp9/encoder/vp9_mcomp.c
b/vp9/encoder/vp9_mcomp.c
index
198e11c
..
d761a85
100644
(file)
--- 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;