]> git.sesse.net Git - vlc/blobdiff - src/playlist/tree.c
playlist: Remove playlist_GetAllEnabledChildren as it wasn't used.
[vlc] / src / playlist / tree.c
index bda4c49709119e09340dc479e1a6fb9df0a9acc5..bfe9e1fdb6007b0581912a7f5b0f1389d9a56d66 100644 (file)
@@ -402,24 +402,6 @@ playlist_item_t *playlist_GetLastLeaf(playlist_t *p_playlist,
     return NULL;
 }
 
-int playlist_GetAllEnabledChildren( playlist_t *p_playlist,
-                                    playlist_item_t *p_node,
-                                    playlist_item_t ***ppp_items )
-{
-    int i_count = 0;
-    playlist_item_t *p_next = NULL;
-    while( 1 )
-    {
-        p_next = playlist_GetNextLeaf( p_playlist, p_node,
-                                       p_next, true, false );
-        if( p_next )
-            INSERT_ELEM( *ppp_items, i_count, i_count, p_next );
-        else
-            break;
-    }
-    return i_count;
-}
-
 /**
  * Finds the next item to play
  *