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

Diego Biurrun git at videolan.org
Mon Oct 20 19:14:58 CEST 2014


libdvdcss | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Oct 20 11:59:16 2014 +0200| [2b0174bef1f7085f599f2c49779fde4026359392] | committer: Jean-Baptiste Kempf

dvd_region: Shut up warnings about (sometimes) unused function parameters

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/libdvdcss.git/?a=commit;h=2b0174bef1f7085f599f2c49779fde4026359392
---

 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 };
 



More information about the libdvdcss-devel mailing list