Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
d4c2f911
Commit
d4c2f911
authored
Oct 15, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ConfigData: remove unused method DupBlockString()
parent
084fd8df
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
ConfigData.cxx
src/ConfigData.cxx
+0
-8
ConfigData.hxx
src/ConfigData.hxx
+0
-4
No files found.
src/ConfigData.cxx
View file @
d4c2f911
...
...
@@ -25,8 +25,6 @@
#include "fs/Path.hxx"
#include "system/FatalError.hxx"
#include <glib.h>
#include <assert.h>
#include <string.h>
#include <stdlib.h>
...
...
@@ -88,12 +86,6 @@ config_param::GetBlockValue(const char *name, const char *default_value) const
return
bp
->
value
.
c_str
();
}
char
*
config_param
::
DupBlockString
(
const
char
*
name
,
const
char
*
default_value
)
const
{
return
g_strdup
(
GetBlockValue
(
name
,
default_value
));
}
Path
config_param
::
GetBlockPath
(
const
char
*
name
,
const
char
*
default_value
,
Error
&
error
)
const
...
...
src/ConfigData.hxx
View file @
d4c2f911
...
...
@@ -105,10 +105,6 @@ struct config_param {
const
char
*
GetBlockValue
(
const
char
*
name
,
const
char
*
default_value
=
nullptr
)
const
;
gcc_malloc
char
*
DupBlockString
(
const
char
*
name
,
const
char
*
default_value
=
nullptr
)
const
;
/**
* Same as config_dup_path(), but looks up the setting in the
* specified block.
...
...
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