Commit 2bd0742c authored by Rafaël Carré's avatar Rafaël Carré

control/http:

    mvar_InfoSetNew(): removes unused parameter
    avoids unused parameter warnings from httpd callbacks
parent bbd1c26a
......@@ -563,6 +563,7 @@ int E_(HttpCallback)( httpd_file_sys_t *p_args,
uint8_t *_p_request,
uint8_t **_pp_data, int *pi_data )
{
VLC_UNUSED(p_file);
char *p_request = (char *)_p_request;
char **pp_data = (char **)_pp_data;
FILE *f;
......@@ -607,6 +608,7 @@ int E_(HandlerCallback)( httpd_handler_sys_t *p_args,
char *psz_remote_addr, char *psz_remote_host,
uint8_t **_pp_data, int *pi_data )
{
VLC_UNUSED(p_handler); VLC_UNUSED(_p_in);
char *p_url = (char *)_p_url;
char *p_request = (char *)_p_request;
char **pp_data = (char **)_pp_data;
......@@ -834,6 +836,10 @@ int E_(ArtCallback)( httpd_handler_sys_t *p_args,
char *psz_remote_addr, char *psz_remote_host,
uint8_t **pp_data, int *pi_data )
{
VLC_UNUSED(p_handler); VLC_UNUSED(_p_url); VLC_UNUSED(i_type);
VLC_UNUSED(p_in); VLC_UNUSED(i_in); VLC_UNUSED(psz_remote_addr);
VLC_UNUSED(psz_remote_host);
char *psz_art = NULL;
intf_thread_t *p_intf = p_args->file.p_intf;
intf_sys_t *p_sys = p_intf->p_sys;
......
......@@ -208,8 +208,7 @@ mvar_t *E_(mvar_PlaylistSetNew)( intf_thread_t *p_intf, char *name,
playlist_t *p_pl );
/** This function creates a set variable with the contents of the Stream
* and media info box */
mvar_t *E_(mvar_InfoSetNew)( intf_thread_t *p_intf, char *name,
input_thread_t *p_input );
mvar_t *E_(mvar_InfoSetNew)( char *name, input_thread_t *p_input );
/** This function creates a set variable with the input parameters */
mvar_t *E_(mvar_InputVarSetNew)( intf_thread_t *p_intf, char *name,
input_thread_t *p_input,
......
......@@ -1024,7 +1024,7 @@ void E_(Execute)( httpd_file_sys_t *p_args,
}
else if( !strcmp( m.param2, "information" ) )
{
index = E_(mvar_InfoSetNew)( p_intf, m.param1,
index = E_(mvar_InfoSetNew)( m.param1,
p_intf->p_sys->p_input );
}
else if( !strcmp( m.param2, "program" )
......
......@@ -291,8 +291,7 @@ mvar_t *E_(mvar_PlaylistSetNew)( intf_thread_t *p_intf, char *name,
return s;
}
mvar_t *E_(mvar_InfoSetNew)( intf_thread_t *p_intf, char *name,
input_thread_t *p_input )
mvar_t *E_(mvar_InfoSetNew)( char *name, input_thread_t *p_input )
{
mvar_t *s = E_(mvar_New)( name, "set" );
int i, j;
......
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