From: Timothy Arceri Date: Fri, 11 Dec 2015 00:07:14 +0000 (+1100) Subject: nir: silence uninitialized warning X-Git-Tag: upstream/17.1.0~13773 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b9a79b7b813b8d4df71507a0085ab920e603b73;p=platform%2Fupstream%2Fmesa.git nir: silence uninitialized warning Reviewed-by: Rob Clark --- diff --git a/src/glsl/nir/nir_lower_clip.c b/src/glsl/nir/nir_lower_clip.c index e2a2bb6..36cc578 100644 --- a/src/glsl/nir/nir_lower_clip.c +++ b/src/glsl/nir/nir_lower_clip.c @@ -217,7 +217,7 @@ nir_lower_clip_vs(nir_shader *shader, unsigned ucp_enables) int position = -1; int maxloc = -1; nir_ssa_def *cv; - nir_variable *out[2]; + nir_variable *out[2] = { NULL }; if (!ucp_enables) return;