aboutsummaryrefslogtreecommitdiffstats
path: root/src/config/ConfigPath.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/ConfigPath.cxx')
-rw-r--r--src/config/ConfigPath.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/ConfigPath.cxx b/src/config/ConfigPath.cxx
index fe42fdf60..c1e57b3ba 100644
--- a/src/config/ConfigPath.cxx
+++ b/src/config/ConfigPath.cxx
@@ -70,7 +70,7 @@ GetHome(Error &error)
static AllocatedPath
GetConfiguredHome(Error &error)
{
- const char *user = config_get_string(ConfigOption::USER, nullptr);
+ const char *user = config_get_string(ConfigOption::USER);
return user != nullptr
? GetHome(user, error)
: GetHome(error);