ac/nir: silence maybe-uninitialized warnings
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 27 Aug 2017 19:54:56 +0000 (22:54 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Mon, 28 Aug 2017 22:16:58 +0000 (01:16 +0300)
commit2b4e31bc9bb76e35fd700133b89bb56909f63025
tree8406da9ae75c2fc512d47f81322a52afe7842bae
parent77803748336713854a4ade192253c0ba01c49047
ac/nir: silence maybe-uninitialized warnings

These are likely false positives, but are also annoying because they
show up on every "make install", which causes ac_nir_to_llvm to be
rebuilt here. Initializing those variables to NULL should be harmless
even when unnecessary.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/amd/common/ac_nir_to_llvm.c