Commit 9edf6943 authored by Rémi Duraffort's avatar Rémi Duraffort

Fix warning about unused variables.

parent 2aab2631
......@@ -1352,6 +1352,7 @@ static void* EventThread( vlc_object_t *p_this )
static int EventMouse( vlc_object_t *p_this, char const *psz_var,
vlc_value_t oldval, vlc_value_t newval, void *p_data )
{
(void)p_this; (void)oldval; (void)newval; (void)p_data;
event_thread_t *p_ev = p_data;
vlc_mutex_lock( &p_ev->lock );
if( psz_var[6] == 'c' )
......@@ -1366,6 +1367,7 @@ static int EventMouse( vlc_object_t *p_this, char const *psz_var,
static int EventKey( vlc_object_t *p_this, char const *psz_var,
vlc_value_t oldval, vlc_value_t newval, void *p_data )
{
(void)p_this; (void)psz_var; (void)oldval;
event_thread_t *p_ev = p_data;
vlc_mutex_lock( &p_ev->lock );
p_ev->i_key_action = newval.i_int;
......@@ -1379,6 +1381,7 @@ static int EventKey( vlc_object_t *p_this, char const *psz_var,
*****************************************************************************/
static int ProbeDVD( demux_t *p_demux, char *psz_name )
{
(void)p_demux;
#ifdef HAVE_SYS_STAT_H
struct stat stat_info;
uint8_t pi_anchor[2];
......
......@@ -1140,6 +1140,7 @@ static void DemuxClose( vlc_object_t *p_this )
static void CommonClose( vlc_object_t *p_this, demux_sys_t *p_sys )
{
(void)p_this;
/* Close */
if( p_sys->i_fd_video >= 0 ) close( p_sys->i_fd_video );
#ifdef HAVE_ALSA
......@@ -3474,6 +3475,7 @@ static int DemuxControlCallback( vlc_object_t *p_this,
const char *psz_var, vlc_value_t oldval, vlc_value_t newval,
void *p_data )
{
(void)oldval;
demux_t *p_demux = (demux_t*)p_this;
demux_sys_t *p_sys = p_demux->p_sys;
int i_cid = (int)p_data;
......@@ -3489,9 +3491,9 @@ static int DemuxControlCallback( vlc_object_t *p_this,
}
static int DemuxControlResetCallback( vlc_object_t *p_this,
const char *psz_var, vlc_value_t oldval, vlc_value_t newval,
void *p_data )
const char *psz_var, vlc_value_t oldval, vlc_value_t newval, void *p_data )
{
(void)psz_var; (void)oldval; (void)newval; (void)p_data;
demux_t *p_demux = (demux_t*)p_this;
demux_sys_t *p_sys = p_demux->p_sys;
......@@ -3509,6 +3511,7 @@ static int AccessControlCallback( vlc_object_t *p_this,
const char *psz_var, vlc_value_t oldval, vlc_value_t newval,
void *p_data )
{
(void)oldval;
access_t *p_access = (access_t *)p_this;
demux_sys_t *p_sys = (demux_sys_t *) p_access->p_sys;
int i_cid = (int)p_data;
......@@ -3524,9 +3527,9 @@ static int AccessControlCallback( vlc_object_t *p_this,
}
static int AccessControlResetCallback( vlc_object_t *p_this,
const char *psz_var, vlc_value_t oldval, vlc_value_t newval,
void *p_data )
const char *psz_var, vlc_value_t oldval, vlc_value_t newval, void *p_data )
{
(void)psz_var; (void)oldval; (void)newval; (void)p_data;
access_t *p_access = (access_t *)p_this;
demux_sys_t *p_sys = (demux_sys_t *) p_access->p_sys;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment