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/db/fle_crud.cpp:1159: NO_EFFECT 122072 This greater-than-or-equal-to-zero comparison of an unsigned value is always true. "docCount >= 0UL".
- related to
-
SERVER-65207 Coverity analysis defect 122015: Argument cannot be negative
-
- Closed
-