Merge "vp9_mcomp.c static analysis issues"
This commit is contained in:
commit
d2cd088cb7
@ -349,6 +349,10 @@ int vp9_find_best_sub_pixel_tree(const MACROBLOCK *x,
|
|||||||
tr = br;
|
tr = br;
|
||||||
tc = bc;
|
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->row = br;
|
||||||
bestmv->col = bc;
|
bestmv->col = bc;
|
||||||
@ -452,6 +456,11 @@ int vp9_find_best_sub_pixel_comp_tree(const MACROBLOCK *x,
|
|||||||
tr = br;
|
tr = br;
|
||||||
tc = bc;
|
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->row = br;
|
||||||
bestmv->col = bc;
|
bestmv->col = bc;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user