Commit e555af8f authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

playlist: Remove playlist_GetAllEnabledChildren as it wasn't used.

parent 3af47f42
......@@ -99,9 +99,6 @@ void playlist_SendAddNotify( playlist_t *p_playlist, int i_item_id,
int i_node_id, bool b_signal );
/* Tree walking */
int playlist_GetAllEnabledChildren( playlist_t *p_playlist,
playlist_item_t *p_node,
playlist_item_t ***ppp_items );
playlist_item_t *playlist_GetNextLeaf( playlist_t *p_playlist,
playlist_item_t *p_root,
playlist_item_t *, bool, bool );
......
......@@ -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
*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment