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

s_label or s_label_loop false positive

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0, 3.3.9
    • Labels:
      None

      Description

      This is fallout from WT-2707. When building in develop I see two false positive messages from s_label:

      s_all run of: "./s_label" resulted in:
          src/async/async_api.c:18: mix of returns and jump to the error label within a loop
          src/async/async_worker.c:124: mix of returns and jump to the error label within a loop
      

      There is a single loop in each of those functions using TAILQ_FOREACH. Neither has a mix of returns or jumps to err that I can see.

        Attachments

          Activity

            People

            • Assignee:
              donald.anderson Donald Anderson
              Reporter:
              sue.loverso Sue LoVerso
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: