Commit 74710712 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix superfluous double init

parent c9fd5916
......@@ -263,8 +263,7 @@ int libvlc_InternalInit( libvlc_int_t *p_libvlc, int i_argc,
/* Get the executable name (similar to the basename command) */
if( i_argc > 0 )
{
const char *exe = ppsz_argv[0];
p_libvlc->psz_object_name = exe = ppsz_argv[ 0 ];
const char *exe = p_libvlc->psz_object_name = ppsz_argv[0];
while( *exe )
{
if( *exe++ == '/' )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment