]> git.sesse.net Git - vlc/blobdiff - src/libvlc.c
Remove useless code (or its use was really cryptic)
[vlc] / src / libvlc.c
index 6f83ad0af40fb3af02b7e0fbfd563140d30a7939..9f89c3124be750b5a8551b10839110827e3311af 100644 (file)
@@ -1906,7 +1906,7 @@ static int  AddIntfInternal( int i_object, char const *psz_module,
                              vlc_bool_t b_block, vlc_bool_t b_play,
                              int i_options, char **ppsz_options )
 {
-    int i_err,i;
+    int i_err;
     intf_thread_t *p_intf;
     vlc_t *p_vlc = vlc_current_object( i_object );
 
@@ -1952,11 +1952,6 @@ static int  AddIntfInternal( int i_object, char const *psz_module,
         return i_err;
     }
 
-    for( i = 0  ; i< i_options ; i++ )
-    {
-        
-    }
-
     if( i_object ) vlc_object_release( p_vlc );
     return VLC_SUCCESS;
 };