Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-8908

Expand s_all to check return values are in parentheses

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • WT11.0.0, 6.1.0-rc0
    • None
    • 3
    • Storage - Ra 2022-05-30

    Description

      It's annoying to (a) have to manually check for this when writing code, and (b) reviewing for this. Either s_style or s_clang_format could do it, preferably s_clang_format since it'll be easier to avoid false positives (e.g. a comment saying "return foo because blah").

      There are a couple of places in the code that have been missed, so fix those up too.

      Attachments

        Issue Links

          Activity

            People

              ruby.chen@mongodb.com Ruby Chen
              will.korteland@mongodb.com Will Korteland
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: