Skip to content

Commit 5658319

Browse files
authored
CppCheck: removed changing of debugwarnings for non-accepted files (danmar#4965)
1 parent 0924e66 commit 5658319

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/cppcheck.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -625,10 +625,6 @@ unsigned int CppCheck::checkFile(const std::string& filename, const std::string
625625
{
626626
mExitCode = 0;
627627

628-
// only show debug warnings for accepted C/C++ source files
629-
if (!Path::acceptFile(filename))
630-
mSettings.debugwarnings = false;
631-
632628
if (Settings::terminated())
633629
return mExitCode;
634630

0 commit comments

Comments
 (0)