Commit 2ab18523 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove dead code (CID #3)

If (a < 0 || b < 0) is false, then (a >= 0 && b >= 0) is true,
which implies (a >= || b >= 0) is true as well.
And this was tagged as a FALSE positive!?!
parent fe5605fa
...@@ -228,18 +228,11 @@ static int CreateFilter ( vlc_object_t *p_this ) ...@@ -228,18 +228,11 @@ static int CreateFilter ( vlc_object_t *p_this )
p_sys->p_menu->i_x = 0; p_sys->p_menu->i_x = 0;
p_sys->p_menu->i_y = 0; p_sys->p_menu->i_y = 0;
} }
else if( (p_sys->i_x >= 0) || (p_sys->i_y >= 0) ) else
{ {
p_sys->p_menu->i_x = p_sys->i_x; p_sys->p_menu->i_x = p_sys->i_x;
p_sys->p_menu->i_y = p_sys->i_y; p_sys->p_menu->i_y = p_sys->i_y;
} }
else if( (p_sys->p_menu->i_x < 0) ||
(p_sys->p_menu->i_y < 0) )
{
p_sys->b_absolute = false;
p_sys->p_menu->i_x = 0;
p_sys->p_menu->i_y = 0;
}
/* Set up p_filter */ /* Set up p_filter */
p_sys->i_last_date = mdate(); p_sys->i_last_date = mdate();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment