Skip to content

Commit ce026a9

Browse files
committed
remove redundant severity enables
1 parent 696535c commit ce026a9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/cppcheck.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1707,12 +1707,6 @@ void CppCheck::reportProgress(const std::string &filename, const char stage[], c
17071707
void CppCheck::getErrorMessages(ErrorLogger &errorlogger)
17081708
{
17091709
Settings s;
1710-
s.severity.enable(Severity::warning);
1711-
s.severity.enable(Severity::style);
1712-
s.severity.enable(Severity::portability);
1713-
s.severity.enable(Severity::performance);
1714-
s.severity.enable(Severity::information);
1715-
17161710
s.addEnabled("all");
17171711

17181712
CppCheck cppcheck(errorlogger, true, nullptr);

0 commit comments

Comments
 (0)