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

Fix false-positives in S1066 (CollapsibleIfCandidateCheck)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.12
    • Component/s: Rules
    • Labels:
      None

      Description

      if (condition)
        if (int x = fun()) {
        }
      

        Attachments

          Activity

            People

            Assignee:
            evgeny.mandrikov Evgeny Mandrikov
            Reporter:
            evgeny.mandrikov Evgeny Mandrikov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: