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

Fix unused value in util_list.c

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      clang-analyze is reporting an error in utilities/util_list.c:

      [2021/01/20 00:45:08.903] > src/utilities/util_list.c:96:9: warning: Value stored to 'ret' is never read
      [2021/01/20 00:45:08.903] > ret = ret == WT_NOTFOUND ? 0 : util_err(session, ret, "WT_CONFIG_PARSER.get");
      [2021/01/20 00:45:08.903] > ^

            Assignee:
            keith.smith@mongodb.com Keith Smith
            Reporter:
            keith.smith@mongodb.com Keith Smith
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: