]> git.sesse.net Git - vlc/commitdiff
oops, it sounds like I f**d * my last revert
authorDamien Fouilleul <damienf@videolan.org>
Tue, 26 Sep 2006 16:03:11 +0000 (16:03 +0000)
committerDamien Fouilleul <damienf@videolan.org>
Tue, 26 Sep 2006 16:03:11 +0000 (16:03 +0000)
src/control/core.c

index ddfa6adc5e3f7b01000b94b94b3c20a360b66111..1643fa6a9d21e7f15ed32c3c7fe5c5586f299005 100644 (file)
@@ -83,8 +83,6 @@ libvlc_instance_t * libvlc_new( int argc, char **argv,
                                 libvlc_exception_t *p_e )
 {
     libvlc_instance_t *p_new;
-    int i_index;
-    char** ppsz_argv = NULL;
 
     libvlc_int_t *p_libvlc_int = libvlc_InternalCreate();
     if( !p_libvlc_int ) RAISENULL( "VLC initialization failed" );
@@ -95,7 +93,7 @@ libvlc_instance_t * libvlc_new( int argc, char **argv,
     /** \todo Look for interface settings. If we don't have any, add -I dummy */
     /* Because we probably don't want a GUI by default */    
 
-    if( libvlc_InternalInit( p_libvlc_int, argc, ppsz_argv ) )
+    if( libvlc_InternalInit( p_libvlc_int, argc, argv ) )
         RAISENULL( "VLC initialization failed" );
 
     p_new->p_libvlc_int = p_libvlc_int;