Commit 7d413c48 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove useless memset

parent e1252db2
...@@ -100,8 +100,6 @@ static int Open( vlc_object_t *p_this ) ...@@ -100,8 +100,6 @@ static int Open( vlc_object_t *p_this )
goto error; goto error;
/* Get the root windows of the default screen */ /* Get the root windows of the default screen */
memset( &p_sys->root, 0, sizeof( p_sys->root ) );
const xcb_setup_t* xcbsetup = xcb_get_setup( p_sys->p_connection ); const xcb_setup_t* xcbsetup = xcb_get_setup( p_sys->p_connection );
if( !xcbsetup ) if( !xcbsetup )
goto error; goto error;
......
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