From: Brian Paul Date: Wed, 13 Mar 2013 14:35:39 +0000 (-0600) Subject: draw: init pre_clip_pos = NULL to fix optimized build warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a9d7659d68c8678f4e469b15c15ff0f10075746;p=mesa.git draw: init pre_clip_pos = NULL to fix optimized build warning --- diff --git a/src/gallium/auxiliary/draw/draw_pt_so_emit.c b/src/gallium/auxiliary/draw/draw_pt_so_emit.c index 64ed5441e7c..25584a9b62e 100644 --- a/src/gallium/auxiliary/draw/draw_pt_so_emit.c +++ b/src/gallium/auxiliary/draw/draw_pt_so_emit.c @@ -148,7 +148,7 @@ static void so_emit_prim(struct pt_so_emit *so, for (i = 0; i < num_vertices; ++i) { const float (*input)[4]; - const float (*pre_clip_pos)[4]; + const float (*pre_clip_pos)[4] = NULL; int ob; input = (const float (*)[4])(