input: fix shadowed variable
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 13 Aug 2014 17:57:25 +0000 (20:57 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 13 Aug 2014 18:24:19 +0000 (21:24 +0300)
src/input/input.c

index adeee7f..57c6295 100644 (file)
@@ -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 ) )
         {