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

playlist: shadowing variables

parent e2de299b
...@@ -303,8 +303,8 @@ playlist_t *playlist_Create( vlc_object_t *p_parent ) ...@@ -303,8 +303,8 @@ playlist_t *playlist_Create( vlc_object_t *p_parent )
char *mods = var_InheritString( p_playlist, "services-discovery" ); char *mods = var_InheritString( p_playlist, "services-discovery" );
if( mods != NULL ) if( mods != NULL )
{ {
char *p = mods, *m; char *s = mods, *m;
while( (m = strsep( &p, " :," )) != NULL ) while( (m = strsep( &s, " :," )) != NULL )
playlist_ServicesDiscoveryAdd( p_playlist, m ); playlist_ServicesDiscoveryAdd( p_playlist, m );
free( mods ); free( mods );
} }
......
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