Coverity analysis defect 134119: Macro compares unsigned to 0

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Security 2022-11-28
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Macro compares unsigned to 0

      An unsigned value can never be negative, so this test will always evaluate the same way. An unsigned value can never be less than 0
      /src/mongo/crypto/fle_crypto.cpp:3694: NO_EFFECT 134119 This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "precision.get() >= 0U".

            Assignee:
            Mark Benvenuto
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: