Skip to content

Commit

Permalink
Fix JENKINS-13589
Browse files Browse the repository at this point in the history
  • Loading branch information
gboissinot committed May 1, 2012
1 parent 3207ce4 commit 2c22881
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -208,9 +208,9 @@ public int getNumberErrorsAccordingConfiguration(CppcheckConfig cppecheckConfig,

//Warnings
if (cppecheckConfig.getConfigSeverityEvaluation().isSeverityWarning()) {
nbErrors = this.getReport().getWarningSeverityList().size();
nbErrors = nbErrors + this.getReport().getWarningSeverityList().size();
if (previousResult != null) {
nbPreviousError = previousResult.getReport().getWarningSeverityList().size();
nbPreviousError = nbPreviousError + previousResult.getReport().getWarningSeverityList().size();
}
}

Expand Down

0 comments on commit 2c22881

Please sign in to comment.