[vlc-devel] commit: playlist: Remove playlist_GetAllEnabledChildren as it wasn't used. (Pierre d'Herbemont )
git version control
git at videolan.org
Tue Jul 15 13:19:22 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Tue Jul 15 13:15:15 2008 +0200| [e555af8ff4ff5043c487777967fecb02fd1e8425]
playlist: Remove playlist_GetAllEnabledChildren as it wasn't used.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e555af8ff4ff5043c487777967fecb02fd1e8425
---
src/playlist/playlist_internal.h | 3 ---
src/playlist/tree.c | 18 ------------------
2 files changed, 0 insertions(+), 21 deletions(-)
diff --git a/src/playlist/playlist_internal.h b/src/playlist/playlist_internal.h
index e4369e3..f835bf1 100644
--- a/src/playlist/playlist_internal.h
+++ b/src/playlist/playlist_internal.h
@@ -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 );
diff --git a/src/playlist/tree.c b/src/playlist/tree.c
index bda4c49..bfe9e1f 100644
--- a/src/playlist/tree.c
+++ b/src/playlist/tree.c
@@ -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
*
More information about the vlc-devel
mailing list