evas mask filter - remove unused increment of msk as its set in-loop

msk is set inside the loop body, so msk += is pointless.

fix CID 1367512
This commit is contained in:
Carsten Haitzler 2017-02-08 21:04:46 +09:00
parent bb9bb20000
commit 020535eea1
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ _mask_cpu_alpha_alpha_rgba(Evas_Filter_Command *cmd)
func = evas_common_gfx_func_composite_mask_color_span_get(color, 1, 1, _gfx_to_evas_render_op(op));
span_func = efl_draw_alpha_func_get(cmd->draw.rop, EINA_TRUE);
for (y = 0, my = 0; y < h; y++, my++, msk += mw)
for (y = 0, my = 0; y < h; y++, my++)
{
if (my >= mh) my = 0;