Commit 06bde4a9 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

playlist: remove unused NO_REBUILD flag

The flag is sort-of-implemented, but never actually used.
parent 4a2f6a81
......@@ -208,7 +208,6 @@ enum
/* Used by playlist_Import */
#define PLAYLIST_GO 0x0004
#define PLAYLIST_NO_REBUILD 0x0020
#define PLAYLIST_END -1
......
......@@ -822,8 +822,7 @@ static void AddItem( playlist_t *p_playlist, playlist_item_t *p_item,
ARRAY_APPEND(p_playlist->items, p_item);
playlist_NodeInsert( p_playlist, p_item, p_node, i_pos );
playlist_SendAddNotify( p_playlist, p_item,
!( i_mode & PLAYLIST_NO_REBUILD ) );
playlist_SendAddNotify( p_playlist, p_item, true );
}
/* Actually convert an item to a node */
......
......@@ -76,8 +76,7 @@ playlist_item_t * playlist_NodeCreate( playlist_t *p_playlist,
if( p_parent != NULL )
playlist_NodeInsert( p_playlist, p_item, p_parent, i_pos );
playlist_SendAddNotify( p_playlist, p_item,
!( i_flags & PLAYLIST_NO_REBUILD ));
playlist_SendAddNotify( p_playlist, p_item, true );
p_item->i_flags |= i_flags;
......
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