playlist: shadowing variables
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 13 Aug 2014 17:32:57 +0000 (20:32 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 13 Aug 2014 18:24:18 +0000 (21:24 +0300)
src/playlist/engine.c

index ebb46dc..87bb012 100644 (file)
@@ -303,8 +303,8 @@ playlist_t *playlist_Create( vlc_object_t *p_parent )
     char *mods = var_InheritString( p_playlist, "services-discovery" );
     if( mods != NULL )
     {
-        char *p = mods, *m;
-        while( (m = strsep( &p, " :," )) != NULL )
+        char *s = mods, *m;
+        while( (m = strsep( &s, " :," )) != NULL )
             playlist_ServicesDiscoveryAdd( p_playlist, m );
         free( mods );
     }