Skip to content

Commit

Permalink
cppcheck.cpp: fixed missing verbose logging of clang command when usi…
Browse files Browse the repository at this point in the history
…ng build dir
  • Loading branch information
firewave committed Oct 21, 2024
1 parent 17a10d0 commit f9bcd5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/cppcheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,8 @@ unsigned int CppCheck::checkClang(const FileWithDetails &file)
if (!mSettings.buildDir.empty()) {
std::ofstream fout(clangcmd);
fout << exe << " " << args2 << " " << redirect2 << std::endl;
} else if (mSettings.verbose && !mSettings.quiet) {
}
if (mSettings.verbose && !mSettings.quiet) {
mErrorLogger.reportOut(exe + " " + args2);
}

Expand Down

0 comments on commit f9bcd5c

Please sign in to comment.