Skip to content

Commit 1a9342a

Browse files
authored
Merge pull request #98 from firewave/checkersReport
fixed `no location` error notification shown for `checkersReport` / 1.6.6 release / bumped to 1.6.7
2 parents e1219ef + d3c9784 commit 1a9342a

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,11 @@ Deployment.
137137

138138
## Releases
139139

140-
### 1.6.6 - 20XX-XX-XX
140+
### 1.6.7 - 20XX-XX-XX
141+
142+
### 1.6.6 - 2024-01-06
143+
144+
- Fixed `no location` error notifications for `checkersReport` when `information` is enabled.
141145

142146
### 1.6.5 - 2023-12-15
143147

resources/META-INF/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<idea-plugin>
22
<id>com.github.johnthagen.cppcheck</id>
33
<name>cppcheck</name>
4-
<version>1.6.6</version>
4+
<version>1.6.7</version>
55
<vendor email="johnthagen@users.noreply.github.com" url="https://github.com/johnthagen">johnthagen</vendor>
66

77
<description><![CDATA[

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,14 @@ public List<ProblemDescriptor> parseOutput(@NotNull final PsiFile psiFile,
159159
continue;
160160
}
161161

162+
// Generated since 2.13.0 when "information" is enabled.
163+
/*
164+
<error id="checkersReport" severity="information" msg="Active checkers: 59/592 (use --checkers-report=&lt;filename&gt; to see details)" verbose="Active checkers: 59/592 (use --checkers-report=&lt;filename&gt; to see details)"/>
165+
*/
166+
if (id.equals("checkersReport")) {
167+
continue;
168+
}
169+
162170
// suppress this warning for headers until Cppcheck handles them in a better way
163171
if (SupportedExtensions.isHeaderFile(vFile) && id.equals("unusedStructMember")) {
164172
continue;

0 commit comments

Comments
 (0)