diff --git a/lib/config.cpp b/lib/config.cpp index 4e4d893c1..0661af3ff 100644 --- a/lib/config.cpp +++ b/lib/config.cpp @@ -48,7 +48,7 @@ Config::Config() : Config::Config(const std::string &u) : Config() { - root = load(u); + load(u); } Config::~Config() @@ -71,7 +71,7 @@ json_t * Config::load(const std::string &u) f = af->file; } - json_t *root = decode(f); + root = decode(f); if (af) afclose(af);