Commit 1f03f5e7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove unused parameter

parent e9cf1f87
......@@ -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 */
......
......@@ -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') )
......
......@@ -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 );
......
......@@ -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;
......
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