From: RĂ©mi Denis-Courmont Date: Sat, 28 Jun 2008 09:56:26 +0000 (+0300) Subject: Remove unused parameter X-Git-Tag: 0.9.0-test1~90 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=1f03f5e7d63405106b7fc4f34101d04ce61c78d0;hp=e9cf1f8754ed0c8fe702b9b4108c341f9d98c148;p=vlc Remove unused parameter --- diff --git a/modules/control/http/http.h b/modules/control/http/http.h index 9f55023700..68c818793f 100644 --- a/modules/control/http/http.h +++ b/modules/control/http/http.h @@ -108,7 +108,7 @@ int FileLoad( FILE *f, char **pp_data, int *pi_data ); /** This function creates a suitable URL for a filename */ char *FileToUrl( char *name, bool *pb_index ); /** This function returns the real path of a file or directory */ -char *RealPath( intf_thread_t *p_intf, const char *psz_src ); +char *RealPath( const char *psz_src ); /** This command parses the "seek" command for the HTTP interface * and performs the requested action */ diff --git a/modules/control/http/mvar.c b/modules/control/http/mvar.c index c6439bd2cc..c31e64ac91 100644 --- a/modules/control/http/mvar.c +++ b/modules/control/http/mvar.c @@ -507,7 +507,7 @@ mvar_t *mvar_FileSetNew( intf_thread_t *p_intf, char *name, mvar_t *s = mvar_New( name, "set" ); char **ppsz_dir_content; int i_dir_content, i; - psz_dir = RealPath( p_intf, psz_dir ); + psz_dir = RealPath( psz_dir ); #if defined( WIN32 ) if( psz_dir[0] != '\0' && (psz_dir[0] != '\\' || psz_dir[1] != '\0') ) diff --git a/modules/control/http/rpn.c b/modules/control/http/rpn.c index e55a2fb5e5..bec30bb9ec 100644 --- a/modules/control/http/rpn.c +++ b/modules/control/http/rpn.c @@ -437,7 +437,7 @@ void EvaluateRPN( intf_thread_t *p_intf, mvar_t *vars, else if( !strcmp( s, "realpath" ) ) { char *psz_src = SSPop( st ); - char *psz_dir = RealPath( p_intf, psz_src ); + char *psz_dir = RealPath( psz_src ); SSPush( st, psz_dir ); free( psz_src ); diff --git a/modules/control/http/util.c b/modules/control/http/util.c index c107d2e0d2..19dd7b12b6 100644 --- a/modules/control/http/util.c +++ b/modules/control/http/util.c @@ -864,7 +864,7 @@ input_item_t *MRLParse( intf_thread_t *p_intf, char *_psz, /********************************************************************** * RealPath: parse ../, ~ and path stuff **********************************************************************/ -char *RealPath( intf_thread_t *p_intf, const char *psz_src ) +char *RealPath( const char *psz_src ) { char *psz_dir; char *p;