]> git.sesse.net Git - vlc/commitdiff
Dangling code
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 5 Oct 2008 10:16:15 +0000 (13:16 +0300)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Sun, 5 Oct 2008 10:16:15 +0000 (13:16 +0300)
modules/video_output/sdl.c

index 7fcba447859af164f6e351eb3c63d88f6be6ca7c..0e1acfe48f0fb906af61b7095f5dff0f33b4c5ef 100644 (file)
@@ -154,9 +154,6 @@ static int Open ( vlc_object_t *p_this )
     char *psz_method;
 #endif
 
-    if( lock == NULL )
-        return VLC_ENOMEM;
-
     p_vout->p_sys = malloc( sizeof( vout_sys_t ) );
     if( p_vout->p_sys == NULL )
     {