Module: Mesa Branch: master Commit: 6a9d7659d68c8678f4e469b15c15ff0f10075746 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6a9d7659d68c8678f4e469b15c15ff0f10075746
Author: Brian Paul <[email protected]> Date: Wed Mar 13 08:35:39 2013 -0600 draw: init pre_clip_pos = NULL to fix optimized build warning --- src/gallium/auxiliary/draw/draw_pt_so_emit.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/gallium/auxiliary/draw/draw_pt_so_emit.c b/src/gallium/auxiliary/draw/draw_pt_so_emit.c index 64ed544..25584a9 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])( _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
