]> git.sesse.net Git - vlc/commitdiff
Remove useless memset
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 5 May 2009 20:40:01 +0000 (23:40 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 5 May 2009 20:41:39 +0000 (23:41 +0300)
modules/control/globalhotkeys/xcb.c

index c5ecacf84c7d4664f17e8cc0ed33b879aa1b2a96..f19a6d5b93cd0889ecb455f85d52cd6087fcd636 100644 (file)
@@ -100,8 +100,6 @@ static int Open( vlc_object_t *p_this )
         goto error;
 
     /* 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 );
     if( !xcbsetup )
         goto error;