Commit d4c2f911 authored by Max Kellermann's avatar Max Kellermann

ConfigData: remove unused method DupBlockString()

parent 084fd8df
......@@ -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
......
......@@ -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.
......
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