ref: e7cef6f5b2a935862db4b27eb73d16cfa25d8195
parent: fde3c32f399a0b4b98a68eb9e95b8eaed76732dd
author: Diego Biurrun <diego@biurrun.de>
date: Mon Oct 20 07:59:13 EDT 2014
ioctl: Drop unused parameter from ioctl_ReportASF This kills a related gcc warning.
--- a/src/css.c
+++ b/src/css.c
@@ -739,7 +739,7 @@
{
int i_asf = 0;
- if( ioctl_ReportASF( dvdcss->i_fd, NULL, &i_asf ) != 0 )
+ if( ioctl_ReportASF( dvdcss->i_fd, &i_asf ) != 0 )
{
/* The ioctl process has failed */
print_error( dvdcss, "GetASF fatal error" );
--- a/src/ioctl.c
+++ b/src/ioctl.c
@@ -852,7 +852,7 @@
/*****************************************************************************
* ioctl_ReportASF: get ASF from the drive
*****************************************************************************/
-int ioctl_ReportASF( int i_fd, int *pi_remove_me, int *pi_asf )
+int ioctl_ReportASF( int i_fd, int *pi_asf )
{
int i_ret;
--- a/src/ioctl.h
+++ b/src/ioctl.h
@@ -29,7 +29,7 @@
int ioctl_ReportAgid ( int, int * );
int ioctl_ReportChallenge ( int, int *, uint8_t * );
int ioctl_ReportKey1 ( int, int *, uint8_t * );
-int ioctl_ReportASF ( int, int *, int * );
+int ioctl_ReportASF ( int, int * );
int ioctl_InvalidateAgid ( int, int * );
int ioctl_SendChallenge ( int, int *, uint8_t * );
int ioctl_SendKey2 ( int, int *, uint8_t * );