Skip to content

Commit 1ac6c3e

Browse files
committed
remove dump files in cppcheck build dir after usage
1 parent 0d6575d commit 1ac6c3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/cppcheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1426,7 +1426,7 @@ void CppCheck::executeAddons(const std::string& dumpFile)
14261426
if (!dumpFile.empty()) {
14271427
std::vector<std::string> f{dumpFile};
14281428
executeAddons(f);
1429-
if (!mSettings.dump && mSettings.buildDir.empty())
1429+
if (!mSettings.dump)
14301430
std::remove(dumpFile.c_str());
14311431
}
14321432
}

0 commit comments

Comments
 (0)