[vlc-devel] commit: mediacontrol: Fix warnings about unused args. (Pierre d'Herbemont )

git version control git at videolan.org
Wed Aug 13 00:54:36 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Wed Aug 13 00:02:55 2008 +0200| [e7153307302dcb51ef7ba30df2bb5745ad632c96] | committer: Pierre d'Herbemont 

mediacontrol: Fix warnings about unused args.

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

 src/control/mediacontrol_audio_video.c |    1 +
 src/control/mediacontrol_core.c        |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/control/mediacontrol_audio_video.c b/src/control/mediacontrol_audio_video.c
index 047f05f..e139553 100644
--- a/src/control/mediacontrol_audio_video.c
+++ b/src/control/mediacontrol_audio_video.c
@@ -55,6 +55,7 @@ mediacontrol_snapshot( mediacontrol_Instance *self,
                        const mediacontrol_Position * a_position,
                        mediacontrol_Exception *exception )
 {
+    (void)a_position;
     vlc_object_t* p_cache;
     vout_thread_t* p_vout;
     input_thread_t *p_input;
diff --git a/src/control/mediacontrol_core.c b/src/control/mediacontrol_core.c
index 997f412..9c13dbf 100644
--- a/src/control/mediacontrol_core.c
+++ b/src/control/mediacontrol_core.c
@@ -330,6 +330,7 @@ mediacontrol_get_stream_information( mediacontrol_Instance *self,
                                      mediacontrol_PositionKey a_key,
                                      mediacontrol_Exception *exception )
 {
+    (void)a_key;
     mediacontrol_StreamInformation *retval = NULL;
     libvlc_media_t * p_media;
     libvlc_exception_t ex;




More information about the vlc-devel mailing list