Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
5c16983b
Commit
5c16983b
authored
Feb 09, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lib: remove unused GCC-ism macro
parent
812425ba
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
lib/media_list.c
lib/media_list.c
+0
-10
No files found.
lib/media_list.c
View file @
5c16983b
...
@@ -44,14 +44,6 @@ typedef enum EventPlaceInTime {
...
@@ -44,14 +44,6 @@ typedef enum EventPlaceInTime {
EventDidHappen
EventDidHappen
}
EventPlaceInTime
;
}
EventPlaceInTime
;
//#define DEBUG_MEDIA_LIST
#ifdef DEBUG_MEDIA_LIST
# define trace( fmt, ... ) printf( "%s(): " fmt, __FUNCTION__, ##__VA_ARGS__ )
#else
# define trace( ... )
#endif
/*
/*
* Private functions
* Private functions
*/
*/
...
@@ -74,7 +66,6 @@ notify_item_addition( libvlc_media_list_t * p_mlist,
...
@@ -74,7 +66,6 @@ notify_item_addition( libvlc_media_list_t * p_mlist,
/* Construct the event */
/* Construct the event */
if
(
event_status
==
EventDidHappen
)
if
(
event_status
==
EventDidHappen
)
{
{
trace
(
"item was added at index %d
\n
"
,
index
);
event
.
type
=
libvlc_MediaListItemAdded
;
event
.
type
=
libvlc_MediaListItemAdded
;
event
.
u
.
media_list_item_added
.
item
=
p_md
;
event
.
u
.
media_list_item_added
.
item
=
p_md
;
event
.
u
.
media_list_item_added
.
index
=
index
;
event
.
u
.
media_list_item_added
.
index
=
index
;
...
@@ -106,7 +97,6 @@ notify_item_deletion( libvlc_media_list_t * p_mlist,
...
@@ -106,7 +97,6 @@ notify_item_deletion( libvlc_media_list_t * p_mlist,
/* Construct the event */
/* Construct the event */
if
(
event_status
==
EventDidHappen
)
if
(
event_status
==
EventDidHappen
)
{
{
trace
(
"item at index %d was deleted
\n
"
,
index
);
event
.
type
=
libvlc_MediaListItemDeleted
;
event
.
type
=
libvlc_MediaListItemDeleted
;
event
.
u
.
media_list_item_deleted
.
item
=
p_md
;
event
.
u
.
media_list_item_deleted
.
item
=
p_md
;
event
.
u
.
media_list_item_deleted
.
index
=
index
;
event
.
u
.
media_list_item_deleted
.
index
=
index
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment