[VDPAU] [PATCH 1/4] vdpau_wrapper: remove unused parameter warnings

Rémi Denis-Courmont remi at remlab.net
Tue Oct 28 08:20:06 PDT 2014


From: Rémi Denis-Courmont <remid at nvidia.com>

Signed-off-by: Rémi Denis-Courmont <remid at nvidia.com>
---
 src/vdpau_wrapper.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/vdpau_wrapper.c b/src/vdpau_wrapper.c
index 77dbda3..c6ab2ca 100644
--- a/src/vdpau_wrapper.c
+++ b/src/vdpau_wrapper.c
@@ -99,6 +99,8 @@ static char * _vdp_get_driver_name_from_dri2(
 
     XFree(device_name);
     _vdp_DRI2RemoveExtension(display);
+#else
+    (void) display; (void) screen;
 #endif /* DRI2 */
     return driver_name;
 }
@@ -401,6 +403,7 @@ static VdpStatus pq_set_bg_color_noop(
     VdpColor * const     background_color
 )
 {
+    (void) presentation_queue; (void) background_color;
     return VDP_STATUS_OK;
 }
 
-- 
1.9.1



More information about the VDPAU mailing list