[vlc-commits] access: archive: remove shadow variable

Hannes Domani git at videolan.org
Tue Jul 28 09:08:43 CEST 2015


vlc | branch: master | Hannes Domani <ssbssa at yahoo.de> | Tue Jul 28 10:08:00 2015 +0300| [2f72b64ebdcd1d8e7dd2ed7395cdb84bb07ddc5a] | committer: Rémi Denis-Courmont

access: archive: remove shadow variable

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 modules/access/archive/stream.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/access/archive/stream.c b/modules/access/archive/stream.c
index 4fa1a64..073bd1d 100644
--- a/modules/access/archive/stream.c
+++ b/modules/access/archive/stream.c
@@ -151,7 +151,7 @@ static input_item_t *Browse(stream_t *p_stream)
         if( i_ret == -1 )
             return NULL;
 
-        input_item_t *p_item = input_item_New(psz_uri, archive_entry_pathname(p_entry));
+        p_item = input_item_New(psz_uri, archive_entry_pathname(p_entry));
         free( psz_uri );
         if(p_item == NULL)
             return NULL;



More information about the vlc-commits mailing list