Ignore "explicit declaration of ret" false positive in s_style

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc0, WT11.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines - 2022-07-25
    • 1

      Summary
      s_string checks the explicit declaration of an integer return variable. However, it gives a false warning for functions that have int as a substring in the name, and pass ret as an argument.

      E.g.
      __wt_call_log_print_return(conn, session, ret, "")
      Acceptance Criteria (Definition of Done)

      s_string should not give a warning for functions that have int as a substring in the name, and pass ret as an argument.

              Assignee:
              Andrew Morton
              Reporter:
              Sid Mahajan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: