aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-03-13 08:35:39 -0600
committerBrian Paul <[email protected]>2013-03-14 18:09:42 -0600
commit6a9d7659d68c8678f4e469b15c15ff0f10075746 (patch)
tree5ca9ff335617ae16ae30c1c1997644c4e69c85d0 /src/gallium
parent622b1fcc186190971102f438118b657a47fb406e (diff)
draw: init pre_clip_pos = NULL to fix optimized build warning
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_so_emit.c2
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 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])(