From 706f01988c094d7fab3c3a988f9df0aeb0b120ca Mon Sep 17 00:00:00 2001 From: Damien Fouilleul Date: Tue, 26 Sep 2006 16:03:11 +0000 Subject: [PATCH] oops, it sounds like I f**d * my last revert --- src/control/core.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/control/core.c b/src/control/core.c index ddfa6adc5e..1643fa6a9d 100644 --- a/src/control/core.c +++ b/src/control/core.c @@ -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; -- 2.39.2