aboutsummaryrefslogtreecommitdiffstats
path: root/src/ConfigData.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-15 23:19:44 +0200
committerMax Kellermann <max@duempel.org>2013-10-15 23:19:44 +0200
commitd4c2f911822e95a8c047b7cdfd69d08e612eb65c (patch)
tree417b4e4cc197fa2129c04f937a2f996ca6a7a2a3 /src/ConfigData.cxx
parent084fd8df63d98e8091a99a7d2d4950c6c25317d2 (diff)
downloadmpd-d4c2f911822e95a8c047b7cdfd69d08e612eb65c.tar.gz
mpd-d4c2f911822e95a8c047b7cdfd69d08e612eb65c.tar.xz
mpd-d4c2f911822e95a8c047b7cdfd69d08e612eb65c.zip
ConfigData: remove unused method DupBlockString()
Diffstat (limited to '')
-rw-r--r--src/ConfigData.cxx8
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