From: Pierre d'Herbemont Date: Sun, 28 Sep 2008 14:49:12 +0000 (+0200) Subject: playlist: i_sort and i_order are not used. removed. X-Git-Tag: 1.0.0-pre1~2826 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=03e7b7706e178dcf91eb35544bd6bc4d8b735a27;p=vlc playlist: i_sort and i_order are not used. removed. --- diff --git a/include/vlc_playlist.h b/include/vlc_playlist.h index 12f32efe8f..cbb6c15f5f 100644 --- a/include/vlc_playlist.h +++ b/include/vlc_playlist.h @@ -176,10 +176,6 @@ struct playlist_t playlist_item_t * p_ml_category; /** < "Library" in CATEGORY view */ playlist_item_t * p_local_onelevel; /** < "Playlist" in ONELEVEL view */ playlist_item_t * p_ml_onelevel; /** < "Library" in ONELEVEL view */ - - /* Runtime */ - int i_sort; /**< Last sorting applied to the playlist */ - int i_order; /**< Last ordering applied to the playlist */ }; /** Helper to add an item */ diff --git a/src/playlist/engine.c b/src/playlist/engine.c index 2129229320..9205ded2c7 100644 --- a/src/playlist/engine.c +++ b/src/playlist/engine.c @@ -151,10 +151,6 @@ playlist_t * playlist_Create( vlc_object_t *p_parent ) pl_priv(p_playlist)->request.b_request = false; pl_priv(p_playlist)->status.i_status = PLAYLIST_STOPPED; - p_playlist->i_sort = SORT_ID; - p_playlist->i_order = ORDER_NORMAL; - - b_save = pl_priv(p_playlist)->b_auto_preparse; pl_priv(p_playlist)->b_auto_preparse = false; playlist_MLLoad( p_playlist );