[vlc-devel] [PATCH 2/3] access: archive: remove shadow variable

Hannes Domani ssbssa at yahoo.de
Mon Jul 27 19:38:59 CEST 2015


---
 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 3b9887e..16148d9 100644
--- a/modules/access/archive/stream.c
+++ b/modules/access/archive/stream.c
@@ -160,7 +160,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;
-- 
2.4.6




More information about the vlc-devel mailing list