Uploaded image for project: 'SonarCFamily'
  1. SonarCFamily
  2. CPP-2440

S4144: Ignore function with empty statements

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7
    • Component/s: None
    • Labels:
      None

      Description

      the empty statement is usually coming from asserts. We don't detect assert different since we implement this rule at AST level. This way, we will no longer raise an issue on the attached code.

        Attachments

          Activity

            People

            • Assignee:
              geoffray.adde Geoffray Adde
              Reporter:
              abbas.sabra Abbas Sabra
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: