summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compiler/nir/nir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/nir/nir.c b/src/compiler/nir/nir.c
index 1d7a7479d6c..f97c3175a22 100644
--- a/src/compiler/nir/nir.c
+++ b/src/compiler/nir/nir.c
@@ -1823,9 +1823,10 @@ cursor_next_instr(nir_cursor cursor)
unreachable("Inavlid cursor option");
}
-static bool
+ASSERTED static bool
dest_is_ssa(nir_dest *dest, void *_state)
{
+ (void) _state;
return dest->is_ssa;
}