Commit 8a96b3e7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove unused parameter

parent 4fe6d5bc
...@@ -724,8 +724,7 @@ char *config_GetUserDir( void ) ...@@ -724,8 +724,7 @@ char *config_GetUserDir( void )
return GetDir( true ); return GetDir( true );
} }
static char *config_GetFooDir (libvlc_int_t *p_libvlc, const char *xdg_name, static char *config_GetFooDir (const char *xdg_name, const char *xdg_default)
const char *xdg_default)
{ {
char *psz_dir; char *psz_dir;
#if defined(WIN32) || defined(__APPLE__) || defined(SYS_BEOS) #if defined(WIN32) || defined(__APPLE__) || defined(SYS_BEOS)
...@@ -767,7 +766,7 @@ out: ...@@ -767,7 +766,7 @@ out:
*/ */
char *config_GetConfigDir( libvlc_int_t *p_libvlc ) 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 ) ...@@ -776,7 +775,7 @@ char *config_GetConfigDir( libvlc_int_t *p_libvlc )
*/ */
char *config_GetUserDataDir( 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 ) ...@@ -785,5 +784,5 @@ char *config_GetUserDataDir( libvlc_int_t *p_libvlc )
*/ */
char *config_GetCacheDir( 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");
} }
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