Diego Biurrun
2014-10-20 17:14:58 UTC
libdvdcss | branch: master | Diego Biurrun <***@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
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 };
dvd_region: Shut up warnings about (sometimes) unused function parameters
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 };