[SERVER-72398] Coverity analysis defect 134417: Macro compares unsigned to 0 Created: 24/Dec/22 Updated: 20/Jun/23 Resolved: 20/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Coverity Collector User | Assignee: | Kshitij Gupta |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | coverity, neweng, sharding-nyc-subteam2 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Assigned Teams: |
Sharding NYC
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Sprint: | Sharding NYC 2023-06-26 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Story Points: | 1 | ||||||||||||||||
| Description |
|
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 |