[libdvdcss-devel] [PATCH 23/25] dvd_region: Shut up warnings about (sometimes) unused function parameters

Diego Biurrun diego at biurrun.de
Mon Oct 20 11:59:16 CEST 2014


---
 test/dvd_region.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/dvd_region.c b/test/dvd_region.c
index 53798b4..903b91d 100644
--- a/test/dvd_region.c
+++ b/test/dvd_region.c
@@ -31,6 +31,10 @@ static int ioctl_SendRPC( int i_fd, int i_pdrc )
 {
     int i_ret;
 
+    /* Shut up warnings about unused parameters. */
+    (void)i_fd;
+    (void)i_pdrc;
+
 #if defined( HAVE_LINUX_DVD_STRUCT ) && defined( DVD_HOST_SEND_RPC_STATE )
     dvd_authinfo auth_info = { 0 };
 
-- 
1.9.1



More information about the libdvdcss-devel mailing list