[vlc-commits] playlist: remove no longer used variables

Rémi Denis-Courmont git at videolan.org
Mon Apr 1 17:36:08 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Mar 31 11:05:14 2019 +0300| [4300e3ed56fcb6ffb424180cbf3007468735d7a0] | committer: Rémi Denis-Courmont

playlist: remove no longer used variables

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4300e3ed56fcb6ffb424180cbf3007468735d7a0
---

 modules/demux/playlist/m3u.c | 2 --
 modules/demux/playlist/pls.c | 2 --
 2 files changed, 4 deletions(-)

diff --git a/modules/demux/playlist/m3u.c b/modules/demux/playlist/m3u.c
index a0a407ad23..9675bc84cb 100644
--- a/modules/demux/playlist/m3u.c
+++ b/modules/demux/playlist/m3u.c
@@ -224,8 +224,6 @@ static int ReadDir( stream_t *p_demux, input_item_node_t *p_subitems )
     bool b_cleanup = false;
     input_item_t *p_input;
 
-    input_item_t *p_current_input = GetCurrentItem(p_demux);
-
     psz_line = vlc_stream_ReadLine( p_demux->s );
     while( psz_line )
     {
diff --git a/modules/demux/playlist/pls.c b/modules/demux/playlist/pls.c
index 87c367b62a..132be9b8a9 100644
--- a/modules/demux/playlist/pls.c
+++ b/modules/demux/playlist/pls.c
@@ -78,8 +78,6 @@ static int ReadDir( stream_t *p_demux, input_item_node_t *p_subitems )
     bool ascii = true;
     bool unicode = true;
 
-    input_item_t *p_current_input = GetCurrentItem(p_demux);
-
     while( ( psz_line = vlc_stream_ReadLine( p_demux->s ) ) )
     {
         if (ascii && !IsASCII(psz_line))



More information about the vlc-commits mailing list