diff options
author | Max Kellermann <max@duempel.org> | 2015-06-26 08:05:20 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-06-26 08:06:40 +0200 |
commit | 58996b841ac1a19794d704b5622480adc165c434 (patch) | |
tree | 8426bcf8bfbb686a884e2fc513b1c95b518b02ff /src/config/ConfigGlobal.hxx | |
parent | df03a7b3f82a5ab97d54c64ef249fe98782e199c (diff) | |
download | mpd-58996b841ac1a19794d704b5622480adc165c434.tar.gz mpd-58996b841ac1a19794d704b5622480adc165c434.tar.xz mpd-58996b841ac1a19794d704b5622480adc165c434.zip |
config/Global: allow calling config_get_string() with one argument
default_value defaults to nullptr.
Diffstat (limited to '')
-rw-r--r-- | src/config/ConfigGlobal.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/ConfigGlobal.hxx b/src/config/ConfigGlobal.hxx index 9e8687e82..b24b9aada 100644 --- a/src/config/ConfigGlobal.hxx +++ b/src/config/ConfigGlobal.hxx @@ -73,7 +73,7 @@ config_find_block(ConfigBlockOption option, const char *key, const char *value); gcc_pure const char * -config_get_string(enum ConfigOption option, const char *default_value); +config_get_string(enum ConfigOption option, const char *default_value=nullptr); /** * Returns an optional configuration variable which contains an |