]> git.sesse.net Git - vlc/commitdiff
libvlc: Fix some unused arg warning in vlm and playlist.
authorPierre d'Herbemont <pdherbemont@free.fr>
Thu, 20 Aug 2009 10:01:12 +0000 (12:01 +0200)
committerPierre d'Herbemont <pdherbemont@free.fr>
Thu, 20 Aug 2009 10:01:12 +0000 (12:01 +0200)
src/control/playlist.c
src/control/vlm.c

index a2ccdc80ae3345997604212111d717d884ff6795..fe882bcc4cf45f6eb8aeae444319150bc1ac22e9 100644 (file)
@@ -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;
     VLC_UNUSED(i_id); VLC_UNUSED(i_options); VLC_UNUSED(ppsz_options);
+    VLC_UNUSED(p_e);
 
     assert( pl );
     if( pl->items.i_size == 0 )
index b0ba8d55463118b048239735d47176a6b04450c7..e6e96b653a23738766559afe2f36b4e172a4938e 100644 (file)
 static int VlmEvent( vlc_object_t *p_this, const char * name,
                      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;
     libvlc_event_manager_t *p_event_manager = (libvlc_event_manager_t *) param;
     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_media_name = event->psz_name;
 
@@ -183,6 +182,7 @@ static int libvlc_vlm_init( libvlc_instance_t *p_instance,
 void libvlc_vlm_release( libvlc_instance_t *p_instance,
                          libvlc_exception_t *p_exception)
 {
+    VLC_UNUSED(p_exception);
     libvlc_vlm_release_internal( p_instance );
 }