summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-07-17 23:14:47 +0200
committerMax Kellermann <max@musicpd.org>2018-07-17 23:14:47 +0200
commite8a7c6cee33bd591730313fea6909c565d56a0fc (patch)
tree603b5e33edcfa702d50bccedab24d31feee096af
parent0c8ffa1ac32ade7cd723c40e7f542f444f9850eb (diff)
config/Global: remove unused function config_get_block()
-rw-r--r--src/config/Global.cxx6
-rw-r--r--src/config/Global.hxx4
2 files changed, 0 insertions, 10 deletions
diff --git a/src/config/Global.cxx b/src/config/Global.cxx
index 5f3074613..e333f61cc 100644
--- a/src/config/Global.cxx
+++ b/src/config/Global.cxx
@@ -82,12 +82,6 @@ config_get_param(ConfigOption option) noexcept
return config_data.GetParam(option);
}
-const ConfigBlock *
-config_get_block(ConfigBlockOption option) noexcept
-{
- return config_data.GetBlock(option);
-}
-
const char *
config_get_string(ConfigOption option, const char *default_value) noexcept
{
diff --git a/src/config/Global.hxx b/src/config/Global.hxx
index 8b77e1a07..00f16f2e8 100644
--- a/src/config/Global.hxx
+++ b/src/config/Global.hxx
@@ -52,10 +52,6 @@ gcc_pure
const ConfigParam *
config_get_param(enum ConfigOption option) noexcept;
-gcc_pure
-const ConfigBlock *
-config_get_block(enum ConfigBlockOption option) noexcept;
-
const char *
config_get_string(enum ConfigOption option,
const char *default_value=nullptr) noexcept;