Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
8a96b3e7
Commit
8a96b3e7
authored
May 04, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused parameter
parent
4fe6d5bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
src/config/core.c
src/config/core.c
+4
-5
No files found.
src/config/core.c
View file @
8a96b3e7
...
...
@@ -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"
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment