[vlc-commits] input: fix shadowed variable
Rémi Denis-Courmont
git at videolan.org
Wed Aug 13 20:29:12 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Aug 13 20:57:25 2014 +0300| [6d3bb0737373b720c28e4b132b7ee7868f8ac7aa] | committer: Rémi Denis-Courmont
input: fix shadowed variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6d3bb0737373b720c28e4b132b7ee7868f8ac7aa
---
src/input/input.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/input/input.c b/src/input/input.c
index adeee7f..57c6295 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -1175,9 +1175,8 @@ static void InitPrograms( input_thread_t * p_input )
static int Init( input_thread_t * p_input )
{
vlc_meta_t *p_meta;
- int i;
- for( i = 0; i < p_input->p->p_item->i_options; i++ )
+ for( int i = 0; i < p_input->p->p_item->i_options; i++ )
{
if( !strncmp( p_input->p->p_item->ppsz_options[i], "meta-file", 9 ) )
{
More information about the vlc-commits
mailing list