Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
8f1c0142
Commit
8f1c0142
authored
Aug 20, 2009
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libvlc: Fix some unused arg warning in vlm and playlist.
parent
ede2c993
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
src/control/playlist.c
src/control/playlist.c
+1
-0
src/control/vlm.c
src/control/vlm.c
+4
-4
No files found.
src/control/playlist.c
View file @
8f1c0142
...
@@ -40,6 +40,7 @@ void libvlc_playlist_play( libvlc_instance_t *p_instance, int i_id,
...
@@ -40,6 +40,7 @@ void libvlc_playlist_play( libvlc_instance_t *p_instance, int i_id,
{
{
playlist_t
*
pl
=
libvlc_priv
(
p_instance
->
p_libvlc_int
)
->
p_playlist
;
playlist_t
*
pl
=
libvlc_priv
(
p_instance
->
p_libvlc_int
)
->
p_playlist
;
VLC_UNUSED
(
i_id
);
VLC_UNUSED
(
i_options
);
VLC_UNUSED
(
ppsz_options
);
VLC_UNUSED
(
i_id
);
VLC_UNUSED
(
i_options
);
VLC_UNUSED
(
ppsz_options
);
VLC_UNUSED
(
p_e
);
assert
(
pl
);
assert
(
pl
);
if
(
pl
->
items
.
i_size
==
0
)
if
(
pl
->
items
.
i_size
==
0
)
...
...
src/control/vlm.c
View file @
8f1c0142
...
@@ -37,14 +37,13 @@
...
@@ -37,14 +37,13 @@
static
int
VlmEvent
(
vlc_object_t
*
p_this
,
const
char
*
name
,
static
int
VlmEvent
(
vlc_object_t
*
p_this
,
const
char
*
name
,
vlc_value_t
old_val
,
vlc_value_t
newval
,
void
*
param
)
vlc_value_t
old_val
,
vlc_value_t
newval
,
void
*
param
)
{
{
VLC_UNUSED
(
p_this
);
VLC_UNUSED
(
name
);
VLC_UNUSED
(
old_val
);
vlm_event_t
*
event
=
(
vlm_event_t
*
)
newval
.
p_address
;
vlm_event_t
*
event
=
(
vlm_event_t
*
)
newval
.
p_address
;
libvlc_event_manager_t
*
p_event_manager
=
(
libvlc_event_manager_t
*
)
param
;
libvlc_event_manager_t
*
p_event_manager
=
(
libvlc_event_manager_t
*
)
param
;
libvlc_event_t
libvlc_event
;
libvlc_event_t
libvlc_event
;
VLC_UNUSED
(
p_this
);
VLC_UNUSED
(
name
);
VLC_UNUSED
(
old_val
);
libvlc_event
.
u
.
vlm_media_event
.
psz_instance_name
=
NULL
;
libvlc_event
.
u
.
vlm_media_event
.
psz_instance_name
=
NULL
;
libvlc_event
.
u
.
vlm_media_event
.
psz_media_name
=
event
->
psz_name
;
libvlc_event
.
u
.
vlm_media_event
.
psz_media_name
=
event
->
psz_name
;
...
@@ -183,6 +182,7 @@ static int libvlc_vlm_init( libvlc_instance_t *p_instance,
...
@@ -183,6 +182,7 @@ static int libvlc_vlm_init( libvlc_instance_t *p_instance,
void
libvlc_vlm_release
(
libvlc_instance_t
*
p_instance
,
void
libvlc_vlm_release
(
libvlc_instance_t
*
p_instance
,
libvlc_exception_t
*
p_exception
)
libvlc_exception_t
*
p_exception
)
{
{
VLC_UNUSED
(
p_exception
);
libvlc_vlm_release_internal
(
p_instance
);
libvlc_vlm_release_internal
(
p_instance
);
}
}
...
...
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