[vlc-commits] lib: remove unused GCC-ism macro
Rémi Denis-Courmont
git at videolan.org
Mon Feb 9 20:12:19 CET 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Feb 9 21:12:40 2015 +0200| [5c16983be8082cfeed8c6d803595aa18e0e6b673] | committer: Rémi Denis-Courmont
lib: remove unused GCC-ism macro
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5c16983be8082cfeed8c6d803595aa18e0e6b673
---
lib/media_list.c | 10 ----------
1 file changed, 10 deletions(-)
diff --git a/lib/media_list.c b/lib/media_list.c
index 28479e1..d4dae1a 100644
--- a/lib/media_list.c
+++ b/lib/media_list.c
@@ -44,14 +44,6 @@ typedef enum EventPlaceInTime {
EventDidHappen
} EventPlaceInTime;
-//#define DEBUG_MEDIA_LIST
-
-#ifdef DEBUG_MEDIA_LIST
-# define trace( fmt, ... ) printf( "%s(): " fmt, __FUNCTION__, ##__VA_ARGS__ )
-#else
-# define trace( ... )
-#endif
-
/*
* Private functions
*/
@@ -74,7 +66,6 @@ notify_item_addition( libvlc_media_list_t * p_mlist,
/* Construct the event */
if( event_status == EventDidHappen )
{
- trace("item was added at index %d\n", index);
event.type = libvlc_MediaListItemAdded;
event.u.media_list_item_added.item = p_md;
event.u.media_list_item_added.index = index;
@@ -106,7 +97,6 @@ notify_item_deletion( libvlc_media_list_t * p_mlist,
/* Construct the event */
if( event_status == EventDidHappen )
{
- trace("item at index %d was deleted\n", index);
event.type = libvlc_MediaListItemDeleted;
event.u.media_list_item_deleted.item = p_md;
event.u.media_list_item_deleted.index = index;
More information about the vlc-commits
mailing list