[vlc-devel] commit: Remove unused parameter ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sun May 4 21:09:51 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rem at videolan.org> | Sun May 4 22:08:59 2008 +0300| [8a96b3e73601a02d813b0dc70947778ef7e013ee]
Remove unused parameter
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8a96b3e73601a02d813b0dc70947778ef7e013ee
---
src/config/core.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/config/core.c b/src/config/core.c
index c1ae9be..4992546 100644
--- a/src/config/core.c
+++ b/src/config/core.c
@@ -724,8 +724,7 @@ char *config_GetUserDir( void )
return GetDir( true );
}
-static char *config_GetFooDir (libvlc_int_t *p_libvlc, const char *xdg_name,
- const char *xdg_default)
+static char *config_GetFooDir (const char *xdg_name, const char *xdg_default)
{
char *psz_dir;
#if defined(WIN32) || defined(__APPLE__) || defined(SYS_BEOS)
@@ -767,7 +766,7 @@ out:
*/
char *config_GetConfigDir( libvlc_int_t *p_libvlc )
{
- return config_GetFooDir (p_libvlc, "CONFIG", ".config");
+ return config_GetFooDir ("CONFIG", ".config");
}
/**
@@ -776,7 +775,7 @@ char *config_GetConfigDir( libvlc_int_t *p_libvlc )
*/
char *config_GetUserDataDir( libvlc_int_t *p_libvlc )
{
- return config_GetFooDir (p_libvlc, "DATA", ".local/share");
+ return config_GetFooDir ("DATA", ".local/share");
}
/**
@@ -785,5 +784,5 @@ char *config_GetUserDataDir( libvlc_int_t *p_libvlc )
*/
char *config_GetCacheDir( libvlc_int_t *p_libvlc )
{
- return config_GetFooDir (p_libvlc, "CACHE", ".cache");
+ return config_GetFooDir ("CACHE", ".cache");
}
More information about the vlc-devel
mailing list