[vlc-devel] commit: Dangling code ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Oct 5 12:16:22 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Oct  5 13:16:15 2008 +0300| [917d5748cba4d66b97663132995bd7c0a39c2d33] | committer: Rémi Denis-Courmont 

Dangling code

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

 modules/video_output/sdl.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/modules/video_output/sdl.c b/modules/video_output/sdl.c
index 7fcba44..0e1acfe 100644
--- a/modules/video_output/sdl.c
+++ b/modules/video_output/sdl.c
@@ -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 )
     {




More information about the vlc-devel mailing list