remove dump files in cppcheck build dir after usage
This commit is contained in:
parent
0d6575da15
commit
1ac6c3e2ea
|
@ -1426,7 +1426,7 @@ void CppCheck::executeAddons(const std::string& dumpFile)
|
||||||
if (!dumpFile.empty()) {
|
if (!dumpFile.empty()) {
|
||||||
std::vector<std::string> f{dumpFile};
|
std::vector<std::string> f{dumpFile};
|
||||||
executeAddons(f);
|
executeAddons(f);
|
||||||
if (!mSettings.dump && mSettings.buildDir.empty())
|
if (!mSettings.dump)
|
||||||
std::remove(dumpFile.c_str());
|
std::remove(dumpFile.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue