[vlc-commits] win32: mute unused parameter warning

Rémi Denis-Courmont git at videolan.org
Tue Jul 16 21:49:33 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jul 16 22:47:31 2019 +0300| [6a723cc614a7b81d1b644d66cde4dc2deeecb7eb] | committer: Rémi Denis-Courmont

win32: mute unused parameter warning

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

 src/video_output/vout_wrapper.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/video_output/vout_wrapper.c b/src/video_output/vout_wrapper.c
index 61046f2be0..e74c5b795a 100644
--- a/src/video_output/vout_wrapper.c
+++ b/src/video_output/vout_wrapper.c
@@ -181,10 +181,9 @@ void vout_CloseWrapper(vout_thread_t *vout, vout_display_t *vd)
 static int Forward(vlc_object_t *object, char const *var,
                    vlc_value_t oldval, vlc_value_t newval, void *data)
 {
-    vout_thread_t *vout = (vout_thread_t*)object;
     vout_display_t *vd = data;
 
-    VLC_UNUSED(oldval);
+    VLC_UNUSED(object); VLC_UNUSED(oldval);
     return var_Set(vd, var, newval);
 }
 #endif



More information about the vlc-commits mailing list