From e8a7c6cee33bd591730313fea6909c565d56a0fc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 17 Jul 2018 23:14:47 +0200 Subject: [PATCH] config/Global: remove unused function config_get_block() --- src/config/Global.cxx | 6 ------ src/config/Global.hxx | 4 ---- 2 files changed, 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;