[vlc-commits] libvlc_media_player: fix unused warning
Thomas Guillem
git at videolan.org
Thu Oct 15 14:03:06 CEST 2015
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Oct 15 14:02:55 2015 +0200| [4706adfb46ee227da33d7262db12de8e73b7821e] | committer: Thomas Guillem
libvlc_media_player: fix unused warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4706adfb46ee227da33d7262db12de8e73b7821e
---
lib/media_player.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/media_player.c b/lib/media_player.c
index 2136ab8..9824ede 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -263,7 +263,7 @@ input_event_changed( vlc_object_t * p_this, char const * psz_cmd,
vlc_value_t oldval, vlc_value_t newval,
void * p_userdata )
{
- VLC_UNUSED(oldval);
+ VLC_UNUSED(oldval); VLC_UNUSED(psz_cmd);
input_thread_t * p_input = (input_thread_t *)p_this;
libvlc_media_player_t * p_mi = p_userdata;
libvlc_event_t event;
@@ -1064,6 +1064,7 @@ void * libvlc_media_player_get_nsobject( libvlc_media_player_t *p_mi )
#ifdef __APPLE__
return var_GetAddress (p_mi, "drawable-nsobject");
#else
+ (void) p_mi;
return NULL;
#endif
}
@@ -1135,6 +1136,7 @@ void *libvlc_media_player_get_hwnd( libvlc_media_player_t *p_mi )
#if defined (_WIN32) || defined (__OS2__)
return (void *)(uintptr_t)var_GetInteger (p_mi, "drawable-hwnd");
#else
+ (void) p_mi;
return NULL;
#endif
}
More information about the vlc-commits
mailing list