SonarCloud: Ignore codesmells c89 doesn't support

C89 doesn't support iterator declaration in for loop, kill warning.

Fix By: Brad House (@bradh352)
pull/580/head
Brad House 1 year ago
parent cb0be5688e
commit b8c6a818aa
  1. 7
      sonar-project.properties

@ -14,3 +14,10 @@ sonar.exclusions=test/
# Encoding of the source code. Default is default system encoding
sonar.sourceEncoding=UTF-8
sonar.issue.ignore.multicriteria=m1
# c:S5955 Loop variables should be declared in the minimal possible scope
# Not possible in C89
sonar.issue.ignore.multicriteria.m1.ruleKey=c:S5955
sonar.issue.ignore.multicriteria.m1.resourceKey=**/*

Loading…
Cancel
Save