Skip to content

Commit b83dd87

Browse files
authored
Fix #7: Does not handle non-zero exitcode well
2 parents 0ef2a13 + 7ba596f commit b83dd87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

com.googlecode.cppcheclipse.core/src/com/googlecode/cppcheclipse/core/command/CppcheckCommand.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ public class CppcheckCommand extends AbstractCppcheckCommand {
3939
private final static String ERROR_FORMAT = "{file}" + DELIMITER + "{line}"
4040
+ DELIMITER + "{severity}" + DELIMITER + "{id}" + DELIMITER
4141
+ "{message}";
42+
private final static String SAFETY_OFF = "--premium=safety-off";
4243
private final static String[] DEFAULT_ARGUMENTS = { "--template="
43-
+ ERROR_FORMAT };
44+
+ ERROR_FORMAT, SAFETY_OFF };
4445

4546
/**
4647
* pattern recognizes "2/2 files checked 100% done"

0 commit comments

Comments
 (0)