[vlc-devel] commit: Remove unused parameter ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Jun 28 11:54:25 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Jun 28 12:56:26 2008 +0300| [1f03f5e7d63405106b7fc4f34101d04ce61c78d0]
Remove unused parameter
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1f03f5e7d63405106b7fc4f34101d04ce61c78d0
---
modules/control/http/http.h | 2 +-
modules/control/http/mvar.c | 2 +-
modules/control/http/rpn.c | 2 +-
modules/control/http/util.c | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/control/http/http.h b/modules/control/http/http.h
index 9f55023..68c8187 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 c6439bd..c31e64a 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 e55a2fb..bec30bb 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 c107d2e..19dd7b1 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;
More information about the vlc-devel
mailing list