[vlc-devel] commit: Remove useless memset ( Rémi Denis-Courmont )

git version control git at videolan.org
Tue May 5 22:41:43 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue May  5 23:40:01 2009 +0300| [7d413c48dfe9f8e162bef2869d65e2f3064c5762] | committer: Rémi Denis-Courmont 

Remove useless memset

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7d413c48dfe9f8e162bef2869d65e2f3064c5762
---

 modules/control/globalhotkeys/xcb.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/modules/control/globalhotkeys/xcb.c b/modules/control/globalhotkeys/xcb.c
index c5ecacf..f19a6d5 100644
--- a/modules/control/globalhotkeys/xcb.c
+++ b/modules/control/globalhotkeys/xcb.c
@@ -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;




More information about the vlc-devel mailing list