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

Coverity analysis defect 128666: Pointless string comparison

    • 1
    • Storage Engines - 2022-09-19

      Pointless string comparison

      This is often the result of a copy and paste error. The comparison will always return zero. A string is compared against itself with strcmp or strncmp.
      /test/format/trace.c:52: CONSTANT_EXPRESSION_RESULT 128666 "strcmp("all", "all")" is always 0 because ""all"" is compared against itself.

            Assignee:
            will.korteland@mongodb.com Will Korteland
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: