Skip to content

v3dv: Remove unsigned comparison to zero.

Vinson Lee requested to merge vlee/mesa:fix-cid-1468160 into master

index is of type uint32_t.

Fix defects reported by Coverity Scan.

Macro compares unsigned to 0 (NO_EFFECT) unsigned_compare: This greater-than-or-equal-to-zero comparison of an unsigned value is always true. index >= 0U.

Signed-off-by: Vinson Lee vlee@freedesktop.org

cc: @apinheiro

Merge request reports