mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
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:
parent
e52d3d5f1c
commit
452e5973de
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue