Skip to content

Commit 4e1d69d

Browse files
fallbergmfalkvidd
authored andcommitted
Refine cppcheck analysis (#1133)
- Details link on github for cppcheck now goes straight to the report - Removed umatched suppression from the cppcheck suppression file
1 parent ba7027c commit 4e1d69d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.ci/static_analysis.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def cppCheck(config) {
2929
"grep -q \"<td>0</td><td>total</td>\" cppcheck-avr_cppcheck_reports/index.html || exit_code=\$?\n"+
3030
"exit \$((exit_code == 0 ? 0 : 1))")
3131
if (ret == 1) {
32-
config.pr.setBuildStatus(config, 'ERROR', 'Toll gate (Code analysis - Cppcheck)', 'Issues found', '${BUILD_URL}CppCheck_AVR/index.html')
32+
config.pr.setBuildStatus(config, 'ERROR', 'Toll gate (Code analysis - Cppcheck)', 'Issues found', '${BUILD_URL}CppCheck_20AVR/index.html')
3333
error 'Terminating due to Cppcheck error'
3434
} else {
3535
config.pr.setBuildStatus(config, 'SUCCESS', 'Toll gate (Code analysis - Cppcheck)', 'Pass', '')

.mystools/cppcheck/config/suppressions.cfg

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@ ConfigurationNotChecked
22
unmatchedSuppression
33
// This suppression is because the problem is in an in-lined macro so in-line-suppressions does not appear to take effect
44
unreadVariable:*/MyHwNRF5.cpp
5-
uninitMemberVar:*/TinyGsmFifo.h
6-

0 commit comments

Comments
 (0)