Module: Mesa Branch: master Commit: 4b9a79b7b813b8d4df71507a0085ab920e603b73 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b9a79b7b813b8d4df71507a0085ab920e603b73
Author: Timothy Arceri <[email protected]> Date: Fri Dec 11 11:07:14 2015 +1100 nir: silence uninitialized warning Reviewed-by: Rob Clark <[email protected]> --- src/glsl/nir/nir_lower_clip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
