Commit 5001f5b2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

playlist: remove unused save flag

parent 7cccb99c
......@@ -145,7 +145,6 @@ struct playlist_item_t
};
typedef enum {
PLAYLIST_SAVE_FLAG = 0x0001, /**< Must it be saved */
PLAYLIST_SKIP_FLAG = 0x0002, /**< Must playlist skip after it ? */
PLAYLIST_DBL_FLAG = 0x0004, /**< Is it disabled ? */
PLAYLIST_RO_FLAG = 0x0008, /**< Write-enabled ? */
......
......@@ -211,7 +211,6 @@ static void push_playlist_item( lua_State *L, playlist_item_t *p_item )
lua_pushboolean( L, 1 ); \
lua_setfield( L, -2, #label ); \
}
CHECK_AND_SET_FLAG( SAVE, save )
CHECK_AND_SET_FLAG( SKIP, skip )
CHECK_AND_SET_FLAG( DBL, disabled )
CHECK_AND_SET_FLAG( RO, ro )
......
......@@ -50,9 +50,6 @@ static void DoChildren( playlist_export_t *p_export, playlist_item_t *p_root )
playlist_item_t *p_current = p_root->pp_children[i];
assert( p_current );
if( p_current->i_flags & PLAYLIST_SAVE_FLAG )
continue;
if( p_current->i_children >= 0 )
{
DoChildren( p_export, p_current );
......
......@@ -59,9 +59,6 @@ static void DoChildren( playlist_export_t *p_export, playlist_item_t *p_root,
playlist_item_t *p_current = p_root->pp_children[i];
assert( p_current );
if( p_current->i_flags & PLAYLIST_SAVE_FLAG )
continue;
if( p_current->i_children >= 0 )
{
DoChildren( p_export, p_current, pf_fprintf );
......
......@@ -286,7 +286,6 @@ playlist.get( [what, [tree]] ): Get the playlist.
.id: The item's id.
.flags: a table with the following members if the corresponding flag is
set:
.save
.skip
.disabled
.ro
......
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