CppCheck: removed changing of `debugwarnings` for non-accepted files (#4965)
This commit is contained in:
parent
0924e6616e
commit
5658319976
|
@ -625,10 +625,6 @@ unsigned int CppCheck::checkFile(const std::string& filename, const std::string
|
|||
{
|
||||
mExitCode = 0;
|
||||
|
||||
// only show debug warnings for accepted C/C++ source files
|
||||
if (!Path::acceptFile(filename))
|
||||
mSettings.debugwarnings = false;
|
||||
|
||||
if (Settings::terminated())
|
||||
return mExitCode;
|
||||
|
||||
|
|
Loading…
Reference in New Issue