vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Wed Aug 13 20:32:57 2014 +0300| [650c84a87e2b485c643d7f559c4970aa7e22eaea] | committer: Rémi Denis-Courmont
playlist: shadowing variables > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=650c84a87e2b485c643d7f559c4970aa7e22eaea --- src/playlist/engine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/playlist/engine.c b/src/playlist/engine.c index ebb46dc..87bb012 100644 --- a/src/playlist/engine.c +++ b/src/playlist/engine.c @@ -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 ); } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
