diff options
author | Max Kellermann <max@musicpd.org> | 2018-08-19 22:29:39 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-08-19 22:29:39 +0200 |
commit | 5f95c073057695acfcdea4f1ffed7610304d31e2 (patch) | |
tree | ee3e0e3d919ad4256380a0503ece398244968cfb /src/Main.cxx | |
parent | 1a9659ef455773adddecd92295c73bfc1f8d401b (diff) |
config/Path: add InitPathParser()
Eliminate yet another access to the global ConfigData instance.
Diffstat (limited to 'src/Main.cxx')
-rw-r--r-- | src/Main.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Main.cxx b/src/Main.cxx index 53162b33b..50d496f44 100644 --- a/src/Main.cxx +++ b/src/Main.cxx @@ -55,6 +55,7 @@ #include "config/Global.hxx" #include "config/Data.hxx" #include "config/Param.hxx" +#include "config/Path.hxx" #include "config/Defaults.hxx" #include "config/Option.hxx" #include "config/Domain.hxx" @@ -491,6 +492,7 @@ MainOrThrow(int argc, char *argv[]) #endif const auto &raw_config = GetGlobalConfig(); + InitPathParser(raw_config); const auto config = LoadConfig(raw_config); #ifdef ENABLE_DAEMON |