aboutsummaryrefslogtreecommitdiffstats
path: root/src/fs/Config.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/Config.cxx')
-rw-r--r--src/fs/Config.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fs/Config.cxx b/src/fs/Config.cxx
index d40fa45cf..0b39a362f 100644
--- a/src/fs/Config.cxx
+++ b/src/fs/Config.cxx
@@ -26,9 +26,7 @@ bool
ConfigureFS(Error &error)
{
#ifdef HAVE_FS_CHARSET
- const char *charset = nullptr;
-
- charset = config_get_string(ConfigOption::FS_CHARSET, nullptr);
+ const char *charset = config_get_string(ConfigOption::FS_CHARSET);
return charset == nullptr || SetFSCharset(charset, error);
#else
(void)error;