]> git.sesse.net Git - vlc/blobdiff - modules/misc/lua/libs/playlist.c
Unused variable
[vlc] / modules / misc / lua / libs / playlist.c
index 0a2cf8dc032ac7f57cf5703d38fd79c2db070499..b4113bf0267be02aad5898685533141c44e0cf2b 100644 (file)
@@ -267,9 +267,8 @@ static int vlclua_playlist_get( lua_State *L )
                                 : p_playlist->p_root_onelevel;
         else
         {
-            int i;
 #ifdef FIX_THAT_CODE_NOT_TO_MESS_WITH_PLAYLIST_INTERNALS
-            for( i = 0; i < p_playlist->i_sds; i++ )
+            for( int i = 0; i < p_playlist->i_sds; i++ )
             {
                 if( !strcasecmp( psz_what,
                                  p_playlist->pp_sds[i]->p_sd->psz_module ) )