From fd3219962de473fb426a00fa6a3256f1efc1f24c Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Tue, 9 Oct 2012 01:11:56 +0200 Subject: softpipe: initialize quadColor2 to fix compile warnings --- src/gallium/drivers/softpipe/sp_quad_blend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gallium/drivers/softpipe/sp_quad_blend.c b/src/gallium/drivers/softpipe/sp_quad_blend.c index 5db787ba91a..aba6730da05 100644 --- a/src/gallium/drivers/softpipe/sp_quad_blend.c +++ b/src/gallium/drivers/softpipe/sp_quad_blend.c @@ -949,7 +949,7 @@ blend_fallback(struct quad_stage *qs, for (q = 0; q < nr; q++) { struct quad_header *quad = quads[q]; float (*quadColor)[4]; - float (*quadColor2)[4]; + float (*quadColor2)[4] = NULL; float temp_quad_color[TGSI_QUAD_SIZE][4]; const int itx = (quad->input.x0 & (TILE_SIZE-1)); const int ity = (quad->input.y0 & (TILE_SIZE-1)); -- cgit v1.2.3