git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9fd591
)
Fix superfluous double init
author
Rémi Denis-Courmont
<rem@videolan.org>
Sun, 9 Dec 2007 19:00:25 +0000
(19:00 +0000)
committer
Rémi Denis-Courmont
<rem@videolan.org>
Sun, 9 Dec 2007 19:00:25 +0000
(19:00 +0000)
src/libvlc-common.c
patch
|
blob
|
history
diff --git
a/src/libvlc-common.c
b/src/libvlc-common.c
index
bd08876
..
2d2abcb
100644
(file)
--- a/
src/libvlc-common.c
+++ b/
src/libvlc-common.c
@@
-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++ == '/' )