nir: fix memleak in error path
[mesa.git] / src / compiler / nir / nir_lower_int_to_float.c
index f082b6633022bcbd31d94edc83f65e45947efe99..d1e77daf1fee79aa5ce55a6fa69c494e62bd4049 100644 (file)
@@ -28,7 +28,7 @@
 static bool
 assert_ssa_def_is_not_int(nir_ssa_def *def, void *arg)
 {
-   MAYBE_UNUSED BITSET_WORD *int_types = arg;
+   ASSERTED BITSET_WORD *int_types = arg;
    assert(!BITSET_TEST(int_types, def->index));
    return true;
 }