X-Git-Url: http://git.treefish.org/~alex/phys/latlib.git/blobdiff_plain/71e93c2cca7c6f967c3c77c3e26c037ad4f4f555..20acc11c8054200c02794f58e3cc63851b5627ff:/hypercache.cpp diff --git a/hypercache.cpp b/hypercache.cpp index 81b7b3c..4ec6339 100644 --- a/hypercache.cpp +++ b/hypercache.cpp @@ -72,18 +72,11 @@ string hypercache::fileOfPath(const string& dressedfile) { } bool hypercache::readC() { - bool readnewconfig_nonex; - int nequileftReadConfig_nonex; - bool readAtLeastOneConfig = false; + bool readAtLeastOneConfig; - C->readConfig(readnewconfig_nonex, nequileftReadConfig_nonex, &parentConfigs); + C->readConfig(readAtLeastOneConfig, nequileft, &parentConfigs); - if (readnewconfig_nonex) { - nequileft = nequileftReadConfig_nonex; - readAtLeastOneConfig = true; - } - - if ( nequileft < 0 && readnewconfig_nonex ) + if ( nequileft < 0 && readAtLeastOneConfig ) activeCFile = fileOfPath(C->getInFileName()); else activeCFile = "";