Re: [Mesa-dev] [PATCH v2] nir: fix warning in nir_lower_io.c

2019-01-08 Thread Jason Ekstrand
ACK On Tue, Jan 8, 2019 at 12:27 PM Caio Marcelo de Oliveira Filho < caio.olive...@intel.com> wrote: > Initialize the variable with NULL. Fixes the following > > In file included from ../src/compiler/nir/nir_lower_io.c:34: > ../src/compiler/nir/nir_lower_io.c: In function >

[Mesa-dev] [PATCH v2] nir: fix warning in nir_lower_io.c

2019-01-08 Thread Caio Marcelo de Oliveira Filho
Initialize the variable with NULL. Fixes the following In file included from ../src/compiler/nir/nir_lower_io.c:34: ../src/compiler/nir/nir_lower_io.c: In function ‘nir_lower_explicit_io’: ../src/compiler/nir/nir.h:668:11: warning: ‘addr’ may be used uninitialized in this function