Skip to content

Commit 83b54a2

Browse files
committed
only show global warnings in verbose mode
1 parent 53ed78d commit 83b54a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/github/johnthagen/cppcheck/CppCheckInspectionImpl.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ public static List<ProblemDescriptor> parseOutput(@NotNull final PsiFile psiFile
106106
continue;
107107
}
108108

109-
// suppress this warnings for now - will be properly handled in an upcoming patch
110-
if (id.equals("noValidConfiguration") || id.equals("missingInclude")) {
109+
// only show these global warnings in verbose mode
110+
if (!VERBOSE_LOG && (id.equals("noValidConfiguration") || id.equals("missingInclude") || id.equals("toomanyconfigs"))) {
111111
continue;
112112
}
113113

0 commit comments

Comments
 (0)