[vlc-commits] qt: remove unused playlist item ID type

Rémi Denis-Courmont git at videolan.org
Tue Nov 15 19:30:44 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Nov 15 20:30:16 2016 +0200| [da97e0752b00e4d6441ad6ed313eebc0dad92660] | committer: Rémi Denis-Courmont

qt: remove unused playlist item ID type

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=da97e0752b00e4d6441ad6ed313eebc0dad92660
---

 modules/gui/qt/components/playlist/playlist_item.cpp | 1 -
 modules/gui/qt/components/playlist/playlist_item.hpp | 1 -
 2 files changed, 2 deletions(-)

diff --git a/modules/gui/qt/components/playlist/playlist_item.cpp b/modules/gui/qt/components/playlist/playlist_item.cpp
index f1d9a09..8ca3316 100644
--- a/modules/gui/qt/components/playlist/playlist_item.cpp
+++ b/modules/gui/qt/components/playlist/playlist_item.cpp
@@ -94,7 +94,6 @@ int PLItem::id( int type ) const
     case PLAYLIST_ID:
         return i_playlist_id;
     default:
-    case MLMEDIA_ID:
         vlc_assert_unreachable();
         return -1;
     }
diff --git a/modules/gui/qt/components/playlist/playlist_item.hpp b/modules/gui/qt/components/playlist/playlist_item.hpp
index 23a6629..71eef78 100644
--- a/modules/gui/qt/components/playlist/playlist_item.hpp
+++ b/modules/gui/qt/components/playlist/playlist_item.hpp
@@ -38,7 +38,6 @@ enum
 {
     INPUTITEM_ID = 1,
     PLAYLIST_ID,
-    MLMEDIA_ID
 };
 
 class AbstractPLItem



More information about the vlc-commits mailing list