nir: silence three compiler warnings seen with MinGW
authorBrian Paul <brianp@vmware.com>
Mon, 20 May 2019 13:33:14 +0000 (07:33 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 29 May 2019 19:59:24 +0000 (13:59 -0600)
commite584fd894ed1b4497d668f7145c8514914d6ad8f
tree6fdfcb2746c766238b864da897f600ce0d7d71bd
parentc71ca65405e677ac65d176cd4d6138923df6cd56
nir: silence three compiler warnings seen with MinGW

Silence two unused var warnings.  And init elem_size, elem_align to
zero to silence "maybe uninitialized" warnings.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/compiler/nir/nir_lower_int_to_float.c
src/compiler/nir/nir_opt_copy_prop_vars.c
src/compiler/nir_types.cpp