]> git.sesse.net Git - vlc/commitdiff
playlist: i_sort and i_order are not used. removed.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 28 Sep 2008 14:49:12 +0000 (16:49 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sun, 28 Sep 2008 15:10:00 +0000 (17:10 +0200)
include/vlc_playlist.h
src/playlist/engine.c

index 12f32efe8f95692846c1622fa1239347415ddff3..cbb6c15f5f659faecd8afacdc0d89e8c72e802b6 100644 (file)
@@ -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 */
index 212922932027d9f1221df54d0813a6cabaf3c760..9205ded2c7f139cfa36a91b43edc54f72dc44211 100644 (file)
@@ -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 );