summaryrefslogtreecommitdiff
path: root/src/config/ConfigGlobal.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/config/ConfigGlobal.cxx')
-rw-r--r--src/config/ConfigGlobal.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/ConfigGlobal.cxx b/src/config/ConfigGlobal.cxx
index b1d631a3e..621e59307 100644
--- a/src/config/ConfigGlobal.cxx
+++ b/src/config/ConfigGlobal.cxx
@@ -125,7 +125,7 @@ config_get_path(ConfigOption option)
{
const auto *param = config_get_param(option);
if (param == nullptr)
- return AllocatedPath::Null();
+ return nullptr;
return param->GetPath();
}