Skip to content

Commit 21242e6

Browse files
committed
Properly handle "debug" messages generated by --debug-warnings
1 parent bc792d5 commit 21242e6

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ Deployment.
6161
- Fixed scanning of files with whitespaces in name. (Contribution by @firewave)
6262
- Only scan files which actually exist. (Contribution by @firewave)
6363
- Use unique file names for temporary files used for analysis. (Contribution by @firewave)
64+
- Properly handle `debug` messages generated by `--debug-warnings`. (Contribution by @firewave)
6465

6566
### 1.5.1 - 2020-11-12
6667

resources/META-INF/plugin.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
- Fixed scanning of files with whitespaces in name. (Contribution by @firewave)
6666
- Only scan files which actually exist. (Contribution by @firewave)
6767
- Use unique file names for temporary files used for analysis. (Contribution by @firewave)
68+
- Properly handle "debug" messages generated by --debug-warnings. (Contribution by @firewave
6869
]]>
6970
</change-notes>
7071

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ private static ProblemHighlightType severityToHighlightType(@NotNull final Strin
4545
case "style":
4646
case "performance":
4747
case "portability":
48+
case "debug":
4849
return ProblemHighlightType.WEAK_WARNING;
4950
case "information":
5051
return ProblemHighlightType.INFORMATION;

0 commit comments

Comments
 (0)