aboutsummaryrefslogtreecommitdiffstats
path: root/src/tag
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2015-06-26 08:05:20 +0200
committerMax Kellermann <max@duempel.org>2015-06-26 08:06:40 +0200
commit58996b841ac1a19794d704b5622480adc165c434 (patch)
tree8426bcf8bfbb686a884e2fc513b1c95b518b02ff /src/tag
parentdf03a7b3f82a5ab97d54c64ef249fe98782e199c (diff)
downloadmpd-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 'src/tag')
-rw-r--r--src/tag/TagConfig.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tag/TagConfig.cxx b/src/tag/TagConfig.cxx
index df40c2bc0..e4d40696d 100644
--- a/src/tag/TagConfig.cxx
+++ b/src/tag/TagConfig.cxx
@@ -35,8 +35,7 @@
void
TagLoadConfig()
{
- const char *value = config_get_string(ConfigOption::METADATA_TO_USE,
- nullptr);
+ const char *value = config_get_string(ConfigOption::METADATA_TO_USE);
if (value == nullptr)
return;