diff options
author | Max Kellermann <max@duempel.org> | 2013-10-15 23:19:44 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-15 23:19:44 +0200 |
commit | d4c2f911822e95a8c047b7cdfd69d08e612eb65c (patch) | |
tree | 417b4e4cc197fa2129c04f937a2f996ca6a7a2a3 /src/ConfigData.cxx | |
parent | 084fd8df63d98e8091a99a7d2d4950c6c25317d2 (diff) | |
download | mpd-d4c2f911822e95a8c047b7cdfd69d08e612eb65c.tar.gz mpd-d4c2f911822e95a8c047b7cdfd69d08e612eb65c.tar.xz mpd-d4c2f911822e95a8c047b7cdfd69d08e612eb65c.zip |
ConfigData: remove unused method DupBlockString()
Diffstat (limited to '')
-rw-r--r-- | src/ConfigData.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/ConfigData.cxx b/src/ConfigData.cxx index 65cb63c97..9655d6400 100644 --- a/src/ConfigData.cxx +++ b/src/ConfigData.cxx @@ -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 |