Skip to content

st/nine: Remove unnecessary NULL check.

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

resource cannot be NULL at this point since it has already been dereferenced earlier.

Fix defect reported by Coverity Scan.

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

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

cc: @axeldavy

Merge request reports