]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-internal-solver.cc
CMake: Fix uninitialized variables
[apt.git] / cmdline / apt-internal-solver.cc
index 8296e8d01514f2633298337caa18dcad755dd654..aecb0eaba224ec6d511c81978c1b5759850b280f 100644 (file)
@@ -123,6 +123,7 @@ int main(int argc,const char *argv[])                                       /*{{{*/
        _config->Set("APT::System", "Debian APT solver interface");
        _config->Set("APT::Solver", "internal");
        _config->Set("edsp::scenario", "/nonexistent/stdin");
+       _config->Clear("Dir::Log");
        FileFd output;
        if (output.OpenDescriptor(STDOUT_FILENO, FileFd::WriteOnly | FileFd::BufferedWrite, true) == false)
           DIE("stdout couldn't be opened");