Skip to content

Commit

Permalink
Cppcheck: simplify path before calling checkClang()
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed Mar 8, 2024
1 parent 2f7a396 commit 244bd5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cppcheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ unsigned int CppCheck::checkClang(const std::string &path)
unsigned int CppCheck::check(const std::string &path)
{
if (mSettings.clang)
return checkClang(path);
return checkClang(Path::simplifyPath(path));

return checkFile(Path::simplifyPath(path), emptyString);
}
Expand Down

0 comments on commit 244bd5b

Please sign in to comment.