Changeset e555af8ff4ff5043c487777967fecb02fd1e8425

Show
Ignore:
Timestamp:
15/07/08 13:21:35 (5 months ago)
Author:
Pierre d'Herbemont <pdherbemont@videolan.org>
git-committer:
Pierre d'Herbemont <pdherbemont@videolan.org> 1216120895 +0200
git-parent:

[3af47f42e2ac5cfd6ab35bee5320788270a10a29]

git-author:
Pierre d'Herbemont <pdherbemont@videolan.org> 1216120515 +0200
Message:

playlist: Remove playlist_GetAllEnabledChildren as it wasn't used.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/playlist/playlist_internal.h

    race44bc re555af8  
    100100 
    101101/* Tree walking */ 
    102 int playlist_GetAllEnabledChildren( playlist_t *p_playlist, 
    103                                     playlist_item_t *p_node, 
    104                                     playlist_item_t ***ppp_items ); 
    105102playlist_item_t *playlist_GetNextLeaf( playlist_t *p_playlist, 
    106103                                    playlist_item_t *p_root, 
  • src/playlist/tree.c

    r3af47f4 re555af8  
    401401    } 
    402402    return NULL; 
    403 } 
    404  
    405 int playlist_GetAllEnabledChildren( playlist_t *p_playlist, 
    406                                     playlist_item_t *p_node, 
    407                                     playlist_item_t ***ppp_items ) 
    408 { 
    409     int i_count = 0; 
    410     playlist_item_t *p_next = NULL; 
    411     while( 1 ) 
    412     { 
    413         p_next = playlist_GetNextLeaf( p_playlist, p_node, 
    414                                        p_next, true, false ); 
    415         if( p_next ) 
    416             INSERT_ELEM( *ppp_items, i_count, i_count, p_next ); 
    417         else 
    418             break; 
    419     } 
    420     return i_count; 
    421403} 
    422404