fix: nir: unused variable ‘else_block’ [-Wunused-variable]
Only used in debug builds. Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org> Reviewed-by: Mihai Preda <mhpreda@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18643>
This commit is contained in:

committed by
Marge Bot

parent
e52d3d5f1c
commit
452e5973de
@@ -942,7 +942,7 @@ opt_if_phi_is_condition(nir_builder *b, nir_if *nif)
|
||||
{
|
||||
/* Grab pointers to the last then/else blocks for looking in the phis. */
|
||||
nir_block *then_block = nir_if_last_then_block(nif);
|
||||
nir_block *else_block = nir_if_last_else_block(nif);
|
||||
ASSERTED nir_block *else_block = nir_if_last_else_block(nif);
|
||||
nir_ssa_def *cond = nif->condition.ssa;
|
||||
bool progress = false;
|
||||
|
||||
|
Reference in New Issue
Block a user