Coverity analysis defect 122012: Array compared against 0

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Security 2022-04-18
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Array compared against 0

      The address of an array is never NULL, so the comparison will always evaluate the same way. Array compared against NULL pointer
      /src/mongo/db/commands/fle2_compact.cpp:143: NO_EFFECT 122012 Comparing an array to null is not useful: ""false"", since the test will always evaluate as true.

            Assignee:
            Erwin Pe
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: