Skip to content

asahi: Move assignment after null check.

Vinson Lee requested to merge vlee/mesa:fix-cid-1487445 into main

Fix defect reported by Coverity Scan.

Dereference before null check (REVERSE_INULL) check_after_deref: Null-checking so suggests that it may be null, but it has already been dereferenced on all paths leading to the check.

Fixes: dcd2d8ca ("asahi: Track more Gallium state") Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports