Skip to content

intel/genxml: Avoid generating identical 12.5 and 12 branches.

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

Fix defects reported by Coverity Scan.

Identical code for different branches (IDENTICAL_BRANCHES)

identical_branches: The same code is executed regardless of whether 0 is true, because the 'then' and 'else' branches are identical. Should one of the branches be modified, or the entire 'if' statement replaced?

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

Merge request reports