diff options
-rw-r--r-- | src/compiler/nir/nir_lower_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_lower_io.c b/src/compiler/nir/nir_lower_io.c index bcbfebdfa3b..44af76de599 100644 --- a/src/compiler/nir/nir_lower_io.c +++ b/src/compiler/nir/nir_lower_io.c @@ -732,7 +732,7 @@ lower_explicit_io_deref(nir_builder *b, nir_deref_instr *deref, assert(deref->parent.is_ssa); nir_ssa_def *parent_addr = deref->parent.ssa; - nir_ssa_def *addr; + nir_ssa_def *addr = NULL; assert(deref->dest.is_ssa); switch (deref->deref_type) { case nir_deref_type_var: |